delorie.com/archives/browse.cgi | search |
From: | jp AT NuanceCom DOT COM ("J. P. Shipherd") |
Subject: | stderr not constant? |
2 Jan 1997 17:57:35 -0800 : | |
Sender: | daemon AT cygnus DOT com |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199701030127.RAA15731.cygnus.gnu-win32@lucy.nuancecom.com> |
Mime-Version: | 1.0 (generated by tm-edit 7.94) |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
I have the following line in one of my files: static FILE *out_fp = stderr; /* (FILE *) to which output messages should be directed */ But when I compile with gnu-win32 I get the following error: gcc -Wall -DNUANCE_WIN32 -I- -I. -I/nuance/working/include -c -g -O2 -DINLINE=inline -Winline -o ../obj/win32/error.o error.c error.c:126: initializer element is not constant make: *** [../obj/win32/error.o] Error 1 Is stderr not a constant in win32 or is this caused by the cygwin headers? Thanks, --jp - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |