Re: compilation error in 0.alloc.cpp

2007-03-06 Thread Martin Sebor

Farid, this looks like your code. When you have a minute,
could you take a look at it and see what's going on?

Thanks
Martin

Mark Brown wrote:

I'm trying to compile the tests on Cywgin and I'm getting some errors. Here's 
the first one. I tried to see if it was something obvious that I could easily 
fix myself but the code in both cases is a macro defined to yet another macro 
that expands to either setjmp or sigsetjmp if that's a macro too. Too many 
macros... Hopefully someone better at macro hacking than me will be able to 
figure what's going on.

gcc -c -I/home/mbrown/stdcxx/include/ansi -D_RWSTDDEBUG-D_RWSTD_USE_CONFIG 
-I/home/mbrown/stdcxx/include -I/home/mbrown/stdcxx-gcc-3.4.4-11s/include 
-I/home/mbrown/stdcxx/../rwtest -I/home/mbrown/stdcxx/../rwtest/include 
-I/home/mbrown/stdcxx/tests/include  -pedantic -nostdinc++ -g  -W -Wall 
-Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align   
/home/mbrown/stdcxx/tests/self/0.alloc.cpp
/home/mbrown/stdcxx/tests/self/0.alloc.cpp: In function `void test(const 
TestCase)':
/home/mbrown/stdcxx/tests/self/0.alloc.cpp:93: error: cannot convert `int 
(*)[52]' to `int (*)[54]' in initialization
/home/mbrown/stdcxx/tests/self/0.alloc.cpp:102: error: cannot convert `int 
(*)[52]' to `int (*)[54]' in initialization
make: *** [0.alloc.o] Error 1

-- Mark


FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!




compilation error in 0.alloc.cpp

2007-03-03 Thread Mark Brown
I'm trying to compile the tests on Cywgin and I'm getting some errors. Here's 
the first one. I tried to see if it was something obvious that I could easily 
fix myself but the code in both cases is a macro defined to yet another macro 
that expands to either setjmp or sigsetjmp if that's a macro too. Too many 
macros... Hopefully someone better at macro hacking than me will be able to 
figure what's going on.

gcc -c -I/home/mbrown/stdcxx/include/ansi -D_RWSTDDEBUG-D_RWSTD_USE_CONFIG 
-I/home/mbrown/stdcxx/include -I/home/mbrown/stdcxx-gcc-3.4.4-11s/include 
-I/home/mbrown/stdcxx/../rwtest -I/home/mbrown/stdcxx/../rwtest/include 
-I/home/mbrown/stdcxx/tests/include  -pedantic -nostdinc++ -g  -W -Wall 
-Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align   
/home/mbrown/stdcxx/tests/self/0.alloc.cpp
/home/mbrown/stdcxx/tests/self/0.alloc.cpp: In function `void test(const 
TestCase)':
/home/mbrown/stdcxx/tests/self/0.alloc.cpp:93: error: cannot convert `int 
(*)[52]' to `int (*)[54]' in initialization
/home/mbrown/stdcxx/tests/self/0.alloc.cpp:102: error: cannot convert `int 
(*)[52]' to `int (*)[54]' in initialization
make: *** [0.alloc.o] Error 1

-- Mark


FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!