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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 21 15:19:38 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206335

--- Comment #4 from DW <dweber at htwsaar.de> ---
(In reply to Hubert Drogosz from comment #3)

Yes, makes sense. Thank you.

The error message is misleading at first, though, but (with hindsight) makes
sense, too.

:: test-function.o:1:1: error: expected unqualified-id
:: ELF 
:: ^
:: test-function.o:1:9: warning: null character ignored [-Wnull-character]
:: ELF 

Far more obvious would be an error message like this:

:: test-function.o: not a C++ source file, aborting

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


More information about the freebsd-bugs mailing list