>From [EMAIL PROTECTED] Thu Jun 21 00:19:14 2001
>On Wed, 20 Jun 2001, Joerg Schilling wrote:
>> If someone is interested in compiling cdrecord with a GCC-3.0 on Linux
>> the next version if cdrecord will compile, the corrent does not...
>>
>> THere are two problems:
>>
>> A include file on Linux uses C-99 features that are resulting in incompatible
>> prptotypes with my printf() prototypes.
>>
>> A linux include file makes printf() a #defines macro which is illegal and
>> causes some pain.
>If you create your own stdio implementation, wouldn't it be a better
>idea to create your own stdio.h too instead of relying on the glibc
>version?
I am doing this since 1984..... I believe the way I do it now is the best way.
Regarding printf(), once a POSIX-200x compliant OS will be out, you will
either be able to make your program compile on POSIX-200x compliant OS
or on non-POSIX-200x compliant OS because of new definitions for system
basic types.
I will have no problems with portability to both versions because I have
my own POSIX-200x compliant printf() that deals correctly with the enhanced
tpes and runs even on non-POSIX-200x compliant OS.
J�rg
EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni) If you don't have iso-8859-1
[EMAIL PROTECTED] (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]