On Thu, 2014-01-02 at 19:37 -0500, Adam Jensen wrote:
> On 01/02/2014 06:08 AM, Brian Drummond wrote:

> There are a few hints in the documentation but it seems weak and 
> strained; there are unnecessary ambiguities, as if no one could spend an 
> hour and try to be concise.
> 
> So far, my various attempts to build GHDL generally results in errors like:

> ../.././gcc/vhdl/ortho-lang.c:1266: unexpected character `/'
> ../.././gcc/vhdl/ortho-lang.c:1266: unexpected character `/'
> ../.././gcc/vhdl/ortho-lang.c:1267: unidentified type `vec'
> ../.././gcc/vhdl/ortho-lang.c:1267: parse error: expected '(', 'GTY', or 
> an identifier, have '<'

Wait, what?

Before I start eliminating C++ style comments...

gcc4.8 (with or without ghdl) CANNOT be built with a C compiler any
more. This is why g++ is explicitly part of the prerequisites both in
the gcc documentation and (for the last couple of days; were you looking
at an older rev?) on our Wiki.

Therefore both C++ comments (line 1266) and C++ templates (line 1267)
are legal.

Exactly how are you building, and why is the $COMPILER option in your
build script not being set to g++ (or other C++ compiler)? This info is
probably in the top level config.log.

- Brian


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to