[JIRA] Resolved: (SSPCPP-490) CLang build issue with stream operator overload
Scott Cantor (JIRA)
noreply at shibboleth.net
Mon Aug 13 22:55:06 EDT 2012
[ https://issues.shibboleth.net/jira/browse/SSPCPP-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor resolved SSPCPP-490.
---------------------------------
Resolution: Fixed
http://svn.shibboleth.net/view/cpp-sp?rev=3760&view=rev
Stream operator overload is failing on clang and on gcc 4.2 (SnowLeopard). The expected patch fixes clang, but not the gcc case, so I'm pulling use of the overload in this source file.
> CLang build issue with stream operator overload
> -----------------------------------------------
>
> Key: SSPCPP-490
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-490
> Project: Shibboleth SP - C++
> Issue Type: Bug
> Components: Build, Logging
> Affects Versions: 2.5.0
> Environment: Macport build using clang in Lion
> Reporter: Scott Cantor
> Assignee: Scott Cantor
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> The clang compiler is strict about function lookup inside templates:
> http://clang.llvm.org/compatibility.html
> Temp fix was to forward-declare the XMLHelper DOMNode operator<< overload inside internal.h before the CategoryStream header is pulled in by the SPConfig.h header. Patch is in the macport tree.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list