On 1/28/19 3:35 AM, Nicola Giuliani wrote:
> 
> and It reports
> 
> <command-line>:0:11: error: expected identifier before numeric constant
> <command-line>:0:11: error: expected unqualified-id before numeric constant
> <command-line>:0:11: error: expected unqualified-id before numeric constant
> 
> Looking on the internet I have seen that it should be an error at line 0 
> character 11, but this is one of the "i" in "ngiuiani" so I don't understand.

The key to finding what's happening is that it is on the command line. I 
believe that what is happening is, for example, that the command line *should* 
contain text like
   -D some_symbol -std=c++17
but for whatever reason, something in the cmake scripts has gone wrong and we 
end up with
   -D -std=c++17
The compiler then tries to interpret "-std=c++17" as a token sequence that 
would make sense as a `#define` macro name, and finds that this doesn't work.

I don't see where in your command that happens, but since you have it, you can 
copy-paste it onto the command line, and reduce it until the error goes away 
-- for example, you can remove all of the -W... flags (unimportant during 
linking), -I..., -isystem, ... flags (also unimportant) and see what remains 
and what causes it. If you know what causes it, the solution will likely be 
obvious.

Best
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                            www: http://www.math.colostate.edu/~bangerth/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to