Re: gcc 4.3 warnings

2008-08-07 Thread Skunk Worx
Matthew Saltzman wrote: On Wed, 2008-08-06 at 22:34 -0700, Skunk Worx wrote: Matthew Saltzman wrote: On Tue, 2008-08-05 at 19:49 -0700, Skunk Worx wrote: $ gcc foo.c foo.c:1:16: warning: missing terminating " character $ cat foo.c #define DQUOTE " main() {} A few people at work have mentione

Re: gcc 4.3 warnings

2008-08-07 Thread Matthew Saltzman
On Wed, 2008-08-06 at 22:34 -0700, Skunk Worx wrote: > Matthew Saltzman wrote: > > On Tue, 2008-08-05 at 19:49 -0700, Skunk Worx wrote: > >> $ gcc foo.c > >> foo.c:1:16: warning: missing terminating " character > >> > >> $ cat foo.c > >> #define DQUOTE " > >> main() {} > >> > >> A few people at wo

Re: gcc 4.3 warnings

2008-08-06 Thread Skunk Worx
Matthew Saltzman wrote: On Tue, 2008-08-05 at 19:49 -0700, Skunk Worx wrote: $ gcc foo.c foo.c:1:16: warning: missing terminating " character $ cat foo.c #define DQUOTE " main() {} A few people at work have mentioned it seems unusual for a preprocessor to complain about simple macros this way

Re: gcc 4.3 warnings

2008-08-06 Thread Matthew Saltzman
On Tue, 2008-08-05 at 19:49 -0700, Skunk Worx wrote: > $ gcc foo.c > foo.c:1:16: warning: missing terminating " character > > $ cat foo.c > #define DQUOTE " > main() {} > > A few people at work have mentioned it seems unusual for a preprocessor > to complain about simple macros this way. > > W

Re: gcc 4.3 warnings

2008-08-06 Thread Chris Jones
? it looks damn strange to me, I'm not surprised the preprocessor gives a warning. Suggest you take this to a gcc mailing list, as it has nothing to do with ubuntu. Umm, or Fedora ... ;) Chris -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/l

Re: gcc 4.3 warnings

2008-08-06 Thread Chris Jones
Skunk Worx wrote: > $ gcc foo.c > foo.c:1:16: warning: missing terminating " character > > $ cat foo.c > #define DQUOTE " > main() {} > > A few people at work have mentioned it seems unusual for a preprocessor > to complain about simple macros this way. > > What do others think of this? I get t

gcc 4.3 warnings

2008-08-05 Thread Skunk Worx
$ gcc foo.c foo.c:1:16: warning: missing terminating " character $ cat foo.c #define DQUOTE " main() {} A few people at work have mentioned it seems unusual for a preprocessor to complain about simple macros this way. What do others think of this? TIA, John -- fedora-list mailing list fedor