|
|
|
[
Permlink
| « Hide
]
Boroondas Gupte added a comment - 28/Aug/09 06:26 AM
Is there a straight forward way to control bundled vs. system libs on a per-library basis? I already have boost 1.35 installed anyway, so I might as well use it.
Yes very irritating indeed,
Broondas, no not really with the current cmake rule set, would require some kind of hacking none of which would be very nice. We will probably have to do a conditional warning removal for GCC 4.3, i'll see what i can cook Is it difficult to have the build system fetch the newer boost libraries where the bug is fixed, instead of the older ones? I guess LL just has to push them to S3 and update some reference.
We are between a rock and a hard place, the only solution we can implement (this side of the firewall) is to reintroduce a conditional such as :-
Index: cmake/00-Common.cmake
===================================================================
--- cmake/00-Common.cmake (revision 2713)
+++ cmake/00-Common.cmake (working copy)
@@ -109,6 +109,14 @@
endif (NOT ${GXX_VERSION} MATCHES " 4.1.*Red Hat")
endif (${GXX_VERSION} STREQUAL ${CXX_VERSION})
+ #Lets actualy get a numerical version of gxx's version
+ STRING(REGEX REPLACE ".* ([0-9])\\.([0-9])\\.([0-9]).*" "\\1\\2\\3" CXX_VERSION ${CXX_VERSION})
+
+ #gcc 4.3 and above don't like the LL boost
+ if(${CXX_VERSION} GREATER 429)
+ add_definitions(-Wno-parentheses)
+ endif (${CXX_VERSION} GREATER 429)
+
# End of hacks.
add_definitions(
but that will remain a hack to work around ancient boost libraries. The solution is to update boost to a newer version. Putting Robin's workaround into proper patch form. I'd like to apply this.
Revision 2782
Files affected: Sorry for not yet updating the Boost library, but the patch will at least keep things building
Revision 2794
Fixup for Files affected: Automated note to patch contributor: if you haven't done so already, please make sure you have a contribution agreement on file and that your patch includes an edit to doc/contributions.txt properly crediting yourself for this patch. See https://wiki.secondlife.com/wiki/Submitting_code
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||