Discussion:
[Openexr-user] Have problem to compile with g++ 4.0.2
shtabco
2005-10-15 02:18:56 UTC
Permalink
Here is the place with error. I am not good at C++ to
fix it.

Please help.

./Image.h:59: error: expected `)' before ‘&’ token
./Image.h:64: warning: ISO C++ forbids declaration of
‘Image’ with no type
./Image.h:64: error: expected ‘;’ before ‘&’ token
./Image.h:65: error: expected `;' before ‘const’
./Image.h:65: warning: ISO C++ forbids declaration of
‘Image’ with no type
./Image.h:65: error: expected ‘;’ before ‘&’ token
./Image.h:67: error: expected `;' before ‘private’
./Image.h:71: warning: ISO C++ forbids declaration of
‘Image’ with no type
./Image.h:71: error: expected ‘;’ before ‘&’ token
./Image.h:80: error: expected `)' before ‘&’ token




__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
Florian Kainz
2005-10-17 18:53:54 UTC
Permalink
Someone else reported this error a while ago, and a fix
has been checked into CVS. You can either get the latest
version of exrmaketiled/Image.h from the CVS repository,
or you can fix the file yourself:

immediately before the line that reads

class ImageChannel

insert a new line:

class Image;

Also change the line that reads

ImageChannel (Image &Image);

to

ImageChannel (Image &image);
Post by shtabco
Here is the place with error. I am not good at C++ to
fix it.
Please help.
./Image.h:59: error: expected `)' before ‘&’ token
./Image.h:64: warning: ISO C++ forbids declaration of
‘Image’ with no type
./Image.h:64: error: expected ‘;’ before ‘&’ token
./Image.h:65: error: expected `;' before ‘const’
./Image.h:65: warning: ISO C++ forbids declaration of
‘Image’ with no type
./Image.h:65: error: expected ‘;’ before ‘&’ token
./Image.h:67: error: expected `;' before ‘private’
./Image.h:71: warning: ISO C++ forbids declaration of
‘Image’ with no type
./Image.h:71: error: expected ‘;’ before ‘&’ token
./Image.h:80: error: expected `)' before ‘&’ token
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
Loading...