This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I now get:
gcc tst-initializers1-c89.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -W -Wall -Werror -std=c89 -I../include -I/builds/glibc/10.0-nptl/nptl -I/builds/glibc/10.0-nptl -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../libidn/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../nptl/sysdeps/generic -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -o /builds/glibc/10.0-nptl/nptl/tst-initializers1-c89.o -MD -MP -MF /builds/glibc/10.0-nptl/nptl/tst-initializers1-c89.o.dt -MT /builds/glibc/10.0-nptl/nptl/tst-initializers1-c89.o
In file included from ../nptl/sysdeps/pthread/pthread.h:24,
from ../include/pthread.h:1,
from tst-initializers1.c:20,
from tst-initializers1-c89.c:1:
../include/time.h:95: error: syntax error before â/â token
In file included from ../nptl/sysdeps/pthread/pthread.h:24,
from ../include/pthread.h:1,
from tst-initializers1.c:20,
from tst-initializers1-c89.c:1:
../include/time.h:95:31: error: multi-character character constant
Here's a patch. Ok to commit?
Andreas
2006-01-10 Andreas Jaeger <aj@suse.de>
* include/time.h: Use normal comments.
============================================================
Index: include/time.h
--- include/time.h 23 Dec 2005 01:51:08 -0000 1.26
+++ include/time.h 10 Jan 2006 19:00:44 -0000
@@ -92,7 +92,7 @@ extern int __getclktck (void);
/* strptime support. */
/* Status of lookup: do we use the locale data or the raw data? */
#ifndef __cplusplus
-// C++ cannot deal with using 'not'.
+/* C++ cannot deal with using 'not'. */
enum ptime_locale_status { not, loc, raw };
extern char * __strptime_internal (const char *rp, const char *fmt,
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |