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]

Bug in gcc



Hi,
    I noticed this bug in gcc of versions 2.95.1, 2.7.2.3, 2.8.1, and
egcs-2.91.66.

If I have a two statements in a  header file as follows:

int  NOM_CURVATURE = 35;
#define  NOM_CURVATURE  35


the gcc compiler accepts this !!

thanks
- Nil


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