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

 
 

bug #14994: GCC4 Compilation Error

Submitter:  None
Submitted:  Thu 17 Nov 2005 05:43:36 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Suboptimal behavior
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Bob
Originator Email:  -email is unavailable- Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

Attached Files
file #2678:  error added by None (9KiB - 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
  • -email is unavailable- added by riastradh (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-07 riastradh Open/ClosedOpen Closed
    2005-11-17 cph Categorycompiler None
    2005-11-17 cph StatusNone Fixed
    2005-11-17 None Attached File- Added error, #3108

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code