Hi,

One of the most frequent types of error I meet with gcc3.3 is well represented
by the following extract from a config.log (mysql-3.23.58-1) _ which has the
advantage that the error occurs in /usr/include/gcc/darwin/3.3 :
(august dev-tools, but problem was the same with december dev-tools;
10.2.6 and UFS probably irrelevant)


I hope this is reproducible ...
Does anybody have any light on this ?
Or on fixes for such errors ?

Jean-Francois Mertens
_______________________________
configure:14323: checking for char
configure:14350: gcc -c -O -DDBUG_OFF -O3 -fomit-frame-pointer -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DHAVE_BROKEN_REALPATH -DFN_NO_CASE_SENCE -I/sw/include conftest.c >&5
In file included from configure:14354:
/usr/include/gcc/darwin/3.3/inttypes.h:39: error: syntax error at '#' token
/usr/include/gcc/darwin/3.3/inttypes.h:39: error: parse error before "if"
/usr/include/gcc/darwin/3.3/inttypes.h:40: error: syntax error at '#' token
....
/usr/include/gcc/darwin/3.3/inttypes.h:257: error: syntax error at '#' token
/usr/include/gcc/darwin/3.3/inttypes.h:275: error: parse error before "nptr"
/usr/include/gcc/darwin/3.3/inttypes.h:276: error: parse error before "nptr"
/usr/include/gcc/darwin/3.3/inttypes.h:286: error: parse error before "nptr"
/usr/include/gcc/darwin/3.3/inttypes.h:287: error: parse error before "nptr"
configure:14353: $? = 1
configure: failed program was:
#line 14328 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
if ((char *) 0)
return 0;
if (sizeof (char))
return 0;
;
return 0;
}


cat -n /usr/include/gcc/darwin/3.3/inttypes.h yields there is nothing before
line 33) :
33 #include <sys/cdefs.h> /* For __BEGIN_DECLS and __END_DECLS */
34 #include <machine/ansi.h> /* For _BSD_WCHAR_T_ */
35 #include <stdint.h>
36
37 #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
38 /* Translator is not ISO/IEC 9899:1999-compliant. */
39 #if !defined(restrict)
40 #define restrict
41 #define __RESTRICT_KEYWORD_DEFINED__
42 #endif
43 #endif
_______________________________________




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to