bugMIT/GNU Scheme - Bugs: bug #14994, GCC4 Compilation Error

 
 

bug #14994: GCC4 Compilation Error

Submitted by:  None
Submitted on:  Thu 17 Nov 2005 05:43:36 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Suboptimal behavior
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Bob
Originator Email: -unavailable-Open/Closed: Closed
Keywords: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 14 Mar 2008 07:46:34 AM UTC, comment #2:

Ok. Thank you!

-------------
online

Anonymous
Thu 17 Nov 2005 07:10:27 AM UTC, comment #1:

Please use one of the recent snapshots, which work with GCC4.

Chris Hanson <cph>
Project Administrator
Thu 17 Nov 2005 05:43:36 AM UTC, original submission:

I'm trying to compile v7.7.90 as a package for Arch Linux, it won't compile with GCC4, but works with GCC3. But Arch Linux standardized on GCC4 already and GCC3 is not in repository anymore.

<code>
...
gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/lib/mit-scheme\" -DHAVE_CONFIG_H -I. -I. -I. -march=i686 -O2 -pipe -Wall -I/usr/X11R6/include -c option.c
option.c: In function 'parse_path_string':
option.c:830: error: invalid lvalue in increment
option.c:830: warning: value computed is not used
option.c:852: error: invalid lvalue in increment
option.c:852: warning: value computed is not used
option.c:859: error: invalid lvalue in increment
option.c:859: warning: value computed is not used
make: *** [option.o] Error 1
==> ERROR: Build Failed. Aborting...
</code>

I think it's because of GCC4's new enforcements of coding standards?

attached is the full make output.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #2678:  error added by None (9kB - application/octet-stream - make output with error)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by riastradh (Updated the item)
  •  

    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 07 Mar 2009 08:39:35 PM UTCriastradhOpen/ClosedOpen=>Closed
    Thu 17 Nov 2005 07:11:03 AM UTCcphCategorycompiler=>None
    Thu 17 Nov 2005 07:10:54 AM UTCcphStatusNone=>Fixed
    Thu 17 Nov 2005 05:43:36 AM UTCNoneAttached File-=>Added error, #3108

    Back to the top


    Powered by Savane 3.1-cleanup