This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

volatile undefined


compiler version 2.95.2
system linux

i attached a tgz.
inside is a .C and a script.
start the script, it is self explaining.

it first compiles the source without optimization
then with optimization

the compiler will then say:
tudinc_server.C:12: `volatile' undeclared (first use this function)
and it will exit.

but "volatile" is nowhere in the source.

this bug is also on
http://cgi.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=50529

but i sent it here because i think it was lost.

cu
erik

PS: please someone reply to me if it is
    already known, new or whatsoever,...
    we've been struggling with this error for a long time now ;)

-- 
Name:  Erik Thiele                                       \\\\
Email: erikyyy@erikyyy.de                                o `QQ'_
IRC:   erikyyy                                            /   __8
WWW:   http://www.erikyyy.de/                             '  `

compilebug.tgz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]