|
From: | Albert Lee |
Subject: | [Gnash-dev] Sun Studio and general C++ correctness patches, plus GNASHRC duplicate filtering and plugin fixes |
Date: | Thu, 10 Dec 2009 13:30:10 -0500 |
User-agent: | RoundCube Webmail/0.3-trunk |
* gnash-01-sunpro.diff: Fix compatibility with Sun Studio. Major changes: - Use std namespace consistently for standard C functions. - Use boost::assign::list_of instead of map_list_of to initialise default tag loader list, which is now a vector since it's going to be inserted into a map anyway. Studio doesn't match the type of the function pointer when map_list_of is used for some reason. - Reimplement log_{debug,error,...} in a non-templated version using Boost macros as the templated one has issues when called from the GUI, and generates 1000+ symbols for log_debug variants, which is ridiculous. You lose the strong typing of boost::format so only enable for Studio right now. - #include <clocale> instead of <locale> for setlocale(3) and LC_ALL. * gnash-02-pthreads.diff: Prevent pthreads option search from mangling CXXFLAGS. * gnash-03-gnashrc.diff: Filter duplicates from GNASHRC string. * gnash-04-plugin.diff: - Clean up prcpucfg-glibc.h and make more portable by adding CPU define checks, removing OS-specific info like PR_AF_INET6. Consider renaming the file. - Use strcasecmp(3) conditionally and include strings.h directly for it - cstrings does not exist. - Use std namespace consistently for standard C functions. - Use putenv(3) (defined in SUSv2) for modifying environment, and prepend to GNASHRC string.
gnash-01-sunpro.diff
Description: Binary data
gnash-02-pthreads.diff
Description: Binary data
gnash-03-gnashrc.diff
Description: Binary data
gnash-04-plugin.diff
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |