[fusion]enabler.hpp junk character at start of file
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. See http://www.boost.org/development/tests/develop/developer/output/oracle-sparc... 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. Thanks, Aparna
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.
See http://www.boost.org/development/tests/develop/developer/output/oracle-sparc...
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.
participants (2)
-
Andrey Semashev
-
Aparna Kumta