severity 440088 wishlist retitle 440088 libstlport5.1-dev: could warn again inconsistent threading flags thanks
Hello Jason, On Wed, Aug 29, 2007 at 11:37:45AM -0500, Jason Kraftcheck wrote: > The headers included in libstlport5.1-dev define _STDP_STD_NAME to be > the non-thread-safe namespace (stlpmtx_std). The library installed by > libstlport5.1 includes only symbols in the thread-safe namespace > (stlp_std.) > > The following code will print out the definitino of _STDP_STD_NAME as > defined in /usr/include/stlport/std/config/features.h: [snip] > The output I get is "stlpmtx_std". > > The following command will list the symbols defined in the libary: > > nm -CD --defined-only /usr/lib/libstlport5.1 > > The library appears to define everythign in the "stlp_std" namespace. If you compile your sample program with `-pthread' and run it again you'll see the macro gets expanded to `stlp_std'. This flag has to be used whenever compiling a program using libstlport5.1 - it's written in /usr/share/doc/libstlport5.1-dev/README.Debian. But maybe stl/config/features.h could #warn about inconsistent threading flags? I'll leave this bug open as a remainder. Regards, Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]