Hello.

Thorsten Glaser wrote in
 <pine.bsm.4.64l.2008080000250.6...@herc.mirbsd.org>:
 |Steffen Nurpmeso dixit:
 |
 |>Really??  This i do not understand.
 |
 |You’re only allowed to take pointers to actual objects.
 |It should probably be possible to use NULL somewhere,
 |but you can use &hostname as magic pointer.
 |
 |Using (char *)-1 can cause traps on some platforms, or
 |the compiler to replace the entire codepath (including
 |backwards!) with nōnsense.

Well, hm, but not on POSIX compatible platforms for sure.
MAP_FAILED for example is now explicitly defined (since Issue 6)
where (void*)-1 was formerly used (also by the standard).  There
is also (iconv_t)-1 standardized, where iconv_t is usually
a pointer.  So this ISO C, then.  Hm.  But ok, i can use intptr_t,
it is already used in the lynx code.
Thanks for pointing this out.

 |
 |bye,
 |//mirabilos
 |-- 
 |In traditional syntax ' is ignored, but in c99 everything between two ' is
 |handled as character constant.  Therefore you cannot use ' in a preproces-
 |sing file in c99 mode.        -- Ragge

He unfortunately seems to leave.  For weeks the server was totally
gone, now at least the name resolves, but i cannot access it
nonetheless.  I really like pcc.

 |No faith left in ISO C99, undefined behaviour, etc.
 --End of <pine.bsm.4.64l.2008080000250.6...@herc.mirbsd.org>

Ciao, and a nice Sunday!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

_______________________________________________
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to