bugmonotone - Bugs: bug #18135, 0.30 build problem with GCC 3.2.3

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18135: 0.30 build problem with GCC 3.2.3

Submitted by:  Jack Lloyd <randombit>
Submitted on:  Sat 28 Oct 2006 06:23:48 AM UTC  
 
Category: portabilitySeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

0.30

Sat 28 Oct 2006 08:08:42 AM UTC, comment #2:

You probably need to do this:

--- cmd.hh 3f5caf1f33a64fdc90d224e46d1ab93673addb6c
+++ cmd.hh a5b25faa889c42eef0639d9bfc8de35560e4c750
@@ -207,7 +207,7 @@ std::string commands::cmd_ ## C::desc()
} \
std::string commands::cmd_ ## C::desc() \
{ \
- std:string result = (desc.c_str()); \
+ std::string result = (desc.c_str()); \
result += "\n"; \
result += (F("Alias for %s") % #realcommand).str(); \
return result; \

(been fixed on mainline for a while; thanks for the report, though!)

Nathaniel Smith <njs>
Project Member
Sat 28 Oct 2006 06:30:59 AM UTC, comment #1:

Forget the patch, I thought it was helping but apparently I need either more tea or more sleep.

FWIW, 0.28 built on this same machine. I'll try 0.29 now.

Jack Lloyd <randombit>
Project Member
Sat 28 Oct 2006 06:23:48 AM UTC, original submission:

0.30 seems reluctant to build on GCC 3.2.3 (on CentOS 3.8):

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-56)

It looks to be a problem in the ALIAS macro.

Jack Lloyd <randombit>
Project Member

 

Attached Files
file #11096:  cmd.hh.patch added by randombit (2KiB - text/x-patch - Patch to fix building Montone 0.30 under GCC 3.2.3)
file #11095:  error.log added by randombit (6KiB - text/x-log - Build errors)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 28 Oct 2006 08:08:42 AM UTCnjsStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sat 28 Oct 2006 06:24:13 AM UTCrandombitAttached File-=>Added cmd.hh.patch, #11096
Sat 28 Oct 2006 06:23:48 AM UTCrandombitAttached File-=>Added error.log, #11095

Back to the top


Powered by Savane 3.1-cleanup1