Re: [boost] Re: [test][comeau] problem with va_list

----- Mensaje original ----- De: Bronek Kozicki <brok@rubikon.pl> Fecha: Viernes, Abril 29, 2005 6:36 pm Asunto: Re: [boost] Re: [test][comeau] problem with va_list
For whatever reason, although #include <cstdarg> is in the
Quoting Edward Diener <eddielee@tropicsoft.com>: source file,
when the Comeau compiler is executed it never actually includes the file. This must be a bug in the Comeau compiler but perhaps Greg Comeau> has a fix for it.
Do you have libcomo31 properly installed and built? Did you try "Hello world" using iostreams?
Broneck, if I'm not wrong you have access to a properly setup Comeau environment. It'd be great if you could apply a patch to your local version of boost/test/impl/test_tools.ipp and see what happens. The patch reduces to issuing a namespace std{using ::va_list;} for the Comeau compiler. If this works, a lot of tests that are currently failing because of this single problem could clear up (or at least progress to some further error.) If the patch works, there's still the issue of tuning the workaround: is it a problem with all versions of stdlibcomo, under any backend? Thank you, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

"Peter Dimov" <pdimov@mmltd.net> wrote in message news:013501c54ced$adf21210$6401a8c0@pdimov2...
JOAQUIN LOPEZ MU?Z wrote:
The patch reduces to issuing a
namespace std{using ::va_list;}
for the Comeau compiler.
Why not just switch to <stdarg.h> and va_list? The other va_* things are macros anyway.
I don't really mind, in case if it really going to help and will work for all compilers. Gennadiy

JOAQUIN LOPEZ MU?Z wrote:
The patch reduces to issuing a namespace std{using ::va_list;} for the Comeau compiler. If this works, a lot of
I'm going to append following: #if (__COMO_VERSION__ <= 4303) namespace std {using ::va_list;} #endif to boost/config/compiler/comeau.hpp This should globally fix problem for all files depending on std::va_list. This fix will be applied only after current run of regression tests is finished, hopefully less than 3 hours. I will not touch the CVS, fix will be on my computer only. B.

Bronek Kozicki wrote:
This should globally fix problem for all files depending on std::va_list. This fix will be applied only after current run of
forget it. Giennadiy already applied different fix to CVS and I see this fix in round of regression tests that just started on my computer. B.
participants (4)
-
Bronek Kozicki
-
Gennadiy Rozental
-
JOAQUIN LOPEZ MU?Z
-
Peter Dimov