Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2004-09-22 06:18:36


Again, BOOST_NO_STDC_NAMESPACE-related
trivial fixes, which make the two tests pass for
intel-win32-7.1-vc6, msvc and msvc-stlport (for the
two latter, current_function_test passes but produces
no useful result, as there's no __func__ macro or similar
available for these platforms.

Anyone sees a problem with these fixes? Thanks

PS: I could just go commit these trivialities without consulting,
but I'd rather leave a trace at the mailing list just in case some
problem arises. Sorry for the noise caused.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

53a54
> #include <boost/config.hpp>
60c61,65
< std::printf("Expression: %s\nFunction: %s\nFile: %s\nLine: %ld\n\n", expr, function, file, line);

---
> #if !defined(BOOST_NO_STDC_NAMESPACE)
>     using std::printf;
> #endif
> 
>     printf("Expression: %s\nFunction: %s\nFile: %s\nLine: %ld\n\n", expr, function, file, line);

20a21
> #include <boost/config.hpp>
25c26,30
< std::printf("%s(%ld): %s in function '%s'\n", file, line, msg, func);

---
> #if !defined(BOOST_NO_STDC_NAMESPACE)
>     using std::printf;
> #endif
> 
>     printf("%s(%ld): %s in function '%s'\n", file, line, msg, func);

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk