DragonFly users List (threaded) for 2007-04
DragonFly BSD
DragonFly users List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: vfwscanf() and friends


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 11 Apr 2007 12:36:27 +0200

Hasso Tepper wrote:
Looking at headers it seems to me that libstdc++ assumes that if
vfwscanf() and friends are in libc, they are there unconditionally
which isn't the case - they are visible in /usr/include/wchar.h if
source defines _POSIX_C_SOURCE at least 200112 (C99).

I think we can declare them in any case. After all, we're all moving to C99, right?


So, question - how to fix it and where? In libstdc++? But this will
still cause problems to anyone not using compiler provided by system.
In our /usr/include/wchar.h?

Where do other systems handle this? Using a non-system compiler is not feasible to support anyways... Anybody wanna add thread support to tinycc?


cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]