bugArX revision control system - Bugs: bug #15141, ArX 2.2.4 does not build with GCC...

 
 

bug #15141: ArX 2.2.4 does not build with GCC 3.3.6

Submitted by:  None
Submitted on:  Sun 04 Dec 2005 01:22:00 PM UTC  
 
Severity: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 21 Aug 2006 06:05:30 PM UTC, comment #1:

Thanks. Fixed in arx.3.0,36. This should be in the next release (3.0).

Walter Landry <landry>
Project Administrator
Sun 04 Dec 2005 01:22:00 PM UTC, original submission:

I tried to build ArX 2.2.4 with GCC Version 3.3.6. There was exactly one line which prevented successful compilation. It was in the file src/arx/libarx/merge_branches/three_way_merge.cpp line number 146, which reads
"path merge_path(path(getenv("HOME"))/".arx/merge3");"
This seems to trigger a known bug in GCC versions older than 3.4. Those versions think the line declares a function. Changing the line as shown below fixes the problem.
"path merge_path((0, path(getenv("HOME"))/".arx/merge3") );"

The GCC bug is described here:
http://gcc.gnu.org/bugs.html#known
(See under 'Parse errors for "simple" code.')

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 21 Aug 2006 06:05:30 PM UTClandryStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1