[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-list
Subject: Re: gcc 4.3 warnings
From: Chris Jones <jonesc () hep ! phy ! cam ! ac ! uk>
Date: 2008-08-06 9:11:24
Message-ID: 48996ABC.1010205 () hep ! phy ! cam ! ac ! uk
[Download RAW message or body]
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 the same with gcc 4.2.3
Can't think why you would want to do
#define DQUOTE "
? 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.
cheers Chris
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic