[Gllug] Website developement

Nix nix at esperi.demon.co.uk
Mon Jul 16 20:39:31 UTC 2001


[I dunno what you've done to my word-wrapping, but I don't like it.
 Please get a better email client; wrapping quotes is, well, ugh.]

On Mon, 16 Jul 2001, David Freeman stipulated:
>  --- Nix <nix at esperi.demon.co.uk> wrote:
>> 'what the hell??' will trip over it, and then people whine because
>> the
>> system's saying that the string is unterminated. (Yes, even in a
>> comment
>> --- although, of course, in a comment you don't care what it looks
>> like
>> after expansion. You do care, though, about ??/ inside comments ---
>> yes,
>> really.)
> 
> how about "what the <--/*-->??<!--*/--> and compile with the -C option?

You could use -C to avoid comment-stripping, yes, but that is
GCC-specific, so it will break as soon as you move to a platform that
doesn't have GCC installed, even though it may have a C preprocessor.

And ??< is transformed to { by trigraph expansion ;) yes, even inside
comments. Trigraph expansion happens *everywhere*.

(Of course, if you use GCC extensions like macro varargs, the point is
 moot...)

-- 
`> You never need to use # for anything, either?
 Not to date, but # would suffice if I did.'
                    -- Stig Brautaset espouses uniquely effective ways
                       of protecting HTML from #-stripping preprocessors

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list