On Tue, Jun 10, 2008 at 09:55:43PM +0200, cyril Romain wrote:

>> The offending lines look something like this:
>>
>>      start = PVTS(r, page)->cmdbuf_escstart ?: PVTS(r, page)->cmdbuf_ptr;
>>
>> Looks like something is missing between the "?" and ":"?
>>   
> May be gcc does not complain on other system and implicitly interprets
> "?:" as "? NULL :".

The info page of gcc on my system says that "a :? b" is  the same as "a
? NULL : b ". (I think I'm responsible for the above syntax. I learnt my
programming from the man pages installed on my system, and didn't for a
moment think that there would be any difference on other unix like
systems...)

> Could you please try with:
> 
> start = PVTS(r, page)->cmdbuf_escstart ? NULL : PVTS(r, page)->cmdbuf_ptr;

If it works, feel free to send me a patch for inclusion!

GI

-- 
100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD
20. Despite its proven stress-relieving effect, I will not indulge in
maniacal laughter. When so occupied, it's too easy to miss unexpected
developments that a more attentive individual could adjust to
accordingly.

Attachment: pgp0yHshSLXv1.pgp
Description: PGP signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Materm-devel mailing list
Materm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/materm-devel
mrxvt home page: http://materm.sourceforge.net

Reply via email to