CLang build issue with stream operator overload

Description

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.

Environment

Macport build using clang in Lion

Activity

Scott Cantor December 10, 2012 at 7:13 PM

Closing with release.

Scott Cantor August 14, 2012 at 2:54 AM

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.

Fixed

Assignee

Reporter

Original estimate

Components

Fix versions

Affects versions

Created August 7, 2012 at 5:12 AM
Updated December 10, 2012 at 7:13 PM
Resolved August 14, 2012 at 2:54 AM