| delorie.com/archives/browse.cgi | search | 
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f | 
| X-Recipient: | djgpp AT delorie DOT com | 
| Message-ID: | <4A30B47D.1090304@compu-weigh.com.au> | 
| Date: | Thu, 11 Jun 2009 17:38:37 +1000 | 
| From: | jvp <jvp AT compu-weigh DOT com DOT au> | 
| Organization: | Compu-Weigh Pty Ltd | 
| User-Agent: | Thunderbird 2.0.0.21 (Windows/20090302) | 
| MIME-Version: | 1.0 | 
| To: | djgpp AT delorie DOT com | 
| Subject: | Djgpp errors | 
| X-RPD-ScanID: | Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150201.4A30B47F.0009,ss=1,fgs=0 | 
| Reply-To: | djgpp AT delorie DOT com | 
Hi all
Tried at least 10 times to join the news group, but google verification 
letters
simply dont get accepted. (they are protecting the nuclear launch codes 
after all)
Using XP & Djgpp V2 to compile cURL, but a problem with a file
included from C:\djgpp\Include\Stdio.h
config.h:1: error: expected identifier or '(' before '\x646f7322'
I cant find that string (or part thereof) anywhere in the file or the 
additional included files.
files associated stdio.h version.h  djtypes.h
In file included from setup.h:135, from main.c:23:  "again stdio.h"
c:/djgpp/include/stdio.h:102: error: expected declaration specifiers or 
'...' before 'va_list'
c:/djgpp/include/stdio.h:103: error: expected declaration specifiers or 
'...' before 'va_list'
c:/djgpp/include/stdio.h:104: error: expected declaration specifiers or 
'...' before 'va_list'
c:/djgpp/include/stdio.h:126: error: expected declaration specifiers or 
'...' before 'va_list'
c:/djgpp/include/stdio.h:138: error: expected declaration specifiers or 
'...' before 'va_list'
c:/djgpp/include/stdio.h:139: error: expected declaration specifiers or 
'...' before 'va_list'
c:/djgpp/include/stdio.h:140: error: expected declaration specifiers or 
'...' before 'va_list'
In stdio.h the following includes
#include <sys/version.h>
#include <sys/djtypes.h>
In djtypes.h the following lines are associated with va_list
/* For GCC 3.00 or later we use its builtin 
va_list.                       */
#if __GNUC__ >= 3
#define __DJ_va_list    typedef __builtin_va_list va_list;
#else
#define __DJ_va_list    typedef void *va_list;
#endif
In version.h the following lines may apply ??
#define DJGPP 2
#define __DJGPP 2
#define __DJGPP__ 2
Although the libraries are created, these errors concern me.
Any light shed appreciated.
Regards
Jan van de Poll
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |