This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

RE: Compiler bug?


On Wednesday, May 27, 1998 9:37 AM, Earnie Boyd [SMTP:earnie_boyd@yahoo.com] wrote:
>   Please read the IMPORTANT UPGRADE NOTICE at the end of this note.
>   Please use the Searchable Mail Archives.
>   Please, when asking for help, give the your results as mine or
> others may be different.

Then I assume you didn't have the same error?  But you're right, I should
have included the error message.  As for the notice at the end of this
message.  As you can see, this is a C program, and I am having trouble
with 'compiling' the source, not running it.  Thus, the new dll will not
help.  I've also 'compiled' this same source code on solaris with gcc
2.7.2.2, and had no problems.  Thus, it is a problem with b19 using an
older version of gcc, perhaps.  Since I don't know what changed between
2.7 and 2.7.2.2, I can't be sure.  Maybe you didn't see the same problem
because you have a newer version of gcc.

When can we expect a newer compiler in cygwin32?

> > I can't compile this code with b19.  Is this supposed to be allowed?
> > #include <stdio.h>
> > FILE *xyz = stdin; /* <-- Line 2 */
> > int main() { return 0; }

The error I got was:

tst.c:2: initializer element is not constant

--jc
--
jimen@adtech-inc.com
Adtech, Inc.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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