This is the mail archive of the gcc-help@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]
Other format: [Raw text]

gcc options !


Hi,
  I was trying to compile my code written in "C" for
the strong arm processor,but I ran into a problem.

Here I use common header file eg. list.h which can be
used along with both C and C++ source code.

Since I use to the gcc to compile it comes up syntax
errors when ever it finds a "//" used to write
coments.

The comments are accepted only they are depicted as
"/*". Do I have have an option in gcc to accept both
these notations while is use gcc to compile.

Please advice.

Thanks & regards
Uday



__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


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