Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2016 15:19:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206335] clang++ -x c++ issue : expected unqualified-id
Message-ID:  <bug-206335-8-eRA2FEdVwW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206335-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206335-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206335

--- Comment #4 from DW <dweber@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=20
:: ^
:: test-function.o:1:9: warning: null character ignored [-Wnull-character]
:: ELF=20

Far more obvious would be an error message like this:

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206335-8-eRA2FEdVwW>