Subject: Re: [boost] [fusion]enabler.hpp junk character at start of file
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2016-01-12 18:50:42
On 2016-01-12 23:28, Aparna Kumta wrote:
> All accumulator tests fail when compiled with Oracle Solaris Studio in
> 'dev' branch as follows:
> "../boost/fusion/support/detail/enabler.hpp", line 1: Error: A
> declaration was expected instead of "???".
> 1 Error(s) and 1 Warning(s) detected.
> It appears that in file boost/fusion/support/detail/enabler.hpp, there
> is some junk character at the start of file. This cannot be observed via
> vi editor, but with ' head -1 enabler.hpp', this can be seen.
> % head -1 enabler.hpp
> Perhaps these characters should be removed?
> When I view the file on github, I do not see the issue, however when I
> try to edit the file, I see it.
> Will submit a PR.
This looks like a UTF-8 BOM. IMHO, a decent compiler should support
Unicode, so I'd recommend reporting this to Oracle.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk