NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 92 - fiji.cxx does not compile with gcc 4.4 in ubuntu 9.10 amd64
fiji.cxx does not compile with gcc 4.4 in ubuntu 9.10 amd64
Status: RESOLVED FIXED
Product: ImageJ
Classification: Unclassified
Component: Launcher
unspecified
PC Linux
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2009-10-20 06:17 CDT by Albert Cardona
Modified: 2015-04-06 15:44 CDT
0 users

See Also:

Description Albert Cardona 2009-10-20 06:17:11 CDT
$ ./Build.sh
Building fiji <- fiji.cxx
fiji.cxx: In function ‘char* last_slash(const char*)’:
fiji.cxx:404: error: invalid conversion from ‘const char*’ to ‘char*’
Could not compile fiji.cxx: Failed: 1
        in rule fiji <- fiji.cxx
        in rule  <- fiji


$ gcc --version
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1


If one replaces the const *char by *char, that line stops complaining, but others appear which are not so obvious how to fix.
Comment 1 Johannes Schindelin 2009-10-22 02:07:47 CDT
This should be fixed, thanks to Mark Longair