[Bug c/30621] New: Wrong error message aborts compiling of a simple formula

capiman at clibb dot de gcc-bugzilla@gcc.gnu.org
Sun Jan 28 14:07:00 GMT 2007


I have a simple C file (almost hello world), with a very big formula inside.
If the formula gets too big, i get the following error message, which seems to
be wrong:

$ gcc s3.c
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab):
 undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status

Removing only a "+1" from the formula, then it compiles without a problem.


-- 
           Summary: Wrong error message aborts compiling of a simple formula
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: capiman at clibb dot de
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30621



More information about the Gcc-bugs mailing list