[LLVMbugs] [Bug 7004] Failed to build project with Boost.PropertyTree

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 1 08:02:52 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7004

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2010-05-01 10:02:52 CDT ---
Clang is correct, and GCC is wrong to compile this code. There is a missing
"template" keyword in that line, which should look like this:

  return child.get().template get_value_optional<Type>(tr);

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list