[Bug 206335] clang++ -x c++ issue : expected unqualified-id

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 17 14:45:33 UTC 2016


DW <dweber at htwsaar.de> changed:

           What    |Removed                     |Added
                URL|                            |http://www-crypto.htw-saarl
                   |                            |and.de/weber/download/freeb
                   |                            |sd_clang_x_cpp_oKr6RiMc/

--- Comment #2 from DW <dweber at htwsaar.de> ---

Seems I have found a clang++ bug if called with -x c++.

    system is FreeBSD 10.2-STABLE (TESTBOX) #0 r290820M
    compiler is clang 3.4.1, in particular

      $ clang++ -v
      FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
      Target: x86_64-unknown-freebsd10.2
      Thread model: posix
      Selected GCC installation: 

    compiler clang 3.6 from ports also affected
    compiler clang 3.7 to be checked 

To reproduce

    download clang_x_cpp_bug.tar
    tar xf clang_x_cpp_bug.tar
    cd clang_x_cpp_bug

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list