Eric Lemings wrote:
Here's an error compiling the NEW_OFLOW_SAFE.cpp config test:
aCC -mt -I. -AA +w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236
+W2261 +W2340 +W240
1 +W2487 +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 +W4255 +W4272 +W4284
+W4285 +W4286 +W42
96 +W4297 +W3348 -c
/amd/devco/lemings/work/stdcxx/trunk.gofish/etc/config/src/NEW_OFLOW_
SAFE.cpp -o NEW_OFLOW_SAFE.o
"/amd/devco/lemings/work/stdcxx/trunk.gofish/etc/config/src/NEW_OFLOW_SA
FE.cpp", line 46:
error #2020: identifier "size_t" is undefined
void* p = ::operator new (size_t (-1));
^
Shouldn't 'size_t' be replaced with '_RWSTD_SIZE_T'? Or one of
the standard headers should be included (e.g. <stddef.h>,
<cstddef>)?
The latter. This regression was introduced here:
http://svn.apache.org/viewvc?view=rev&revision=634731
Good catch! We should add a test checking the expected result of this
(and other config macros) on known platforms.
Martin