[Stlport-devel] C Macro fixes
Brought to you by:
complement
From: <fra...@fr...> - 2007-06-14 19:51:30
|
Hi I just replace test/unit/cwchar.cpp by test/unit/macro_checks.cpp. This file now contains checks for (almost) all C Standard macros, it checks that the macro is defined and that its value can be used in a test at preprocessing time. Now the question is: where should macro definition should take place ? There are 2 possibilities: 1. Those macros are C ones so fixes must be in the C Standard headers. 2. STLport is a C++ Standard library implementation so it only brings fixes for C++ applications. Fixes has to be in the C++ counterparts of the C Standard header (cwchar for wchar.h for instance) For the moment 2 is in use, I would prefer 1 for consistency between C and C++ worlds. Bests |