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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 1 08:00:26 PDT 2010


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

           Summary: Failed to build project with Boost.PropertyTree
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: osmano807 at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Hello Today I decided to test clang++ with a project of mine, as it uses
Boost.PropertyTree parser for your configuration file.
Except that when I compile, gave this error:

In file included from /usr/include/boost/property_tree/ptree.hpp:515:
/usr/include/boost/property_tree/detail/ptree_implementation.hpp:749:51: error:
'Type' does not refer to a value
            return child.get().get_value_optional<Type>(tr);
                                                  ^
/usr/include/boost/property_tree/detail/ptree_implementation.hpp:744:20: note:
declared at
    template<class Type, class Translator>
                   ^
2 diagnostics generated.


With g++ compiles normal. I'm using Arch Linux, clang with version 2.7-2

-- 
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