google / szl

A compiler and runtime for the Sawzall language
Other
69 stars 16 forks source link

Could not compile szl-1.0 on OpenSUSE 11.3 x86_64 with gcc 4.5 #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I've extracted szl source and configured it. Then I tried top run `make'.

I expected to have szl compiled, but instead I 've seen the following:

engine/symboltable.cc:47:1: error: ‘sawzall::Proc::Proc’ names the 
constructor, not the type

I've tried to compile szl on OpenSUSE 11.3 x86_64 (kernel 2.6.35) with gcc 4.5 
and protoc 2.3.

When I edited engine/symboltable.cc (see attached patch), the code was compiled 
successfully. I could not test if the compiler runs properly because I could 
not find a single Sawzall tutorial on the web.

Original issue reported on code.google.com by klachkov...@gmail.com on 4 Nov 2010 at 4:40

Attachments:

GoogleCodeExporter commented 9 years ago
Should be fixed as of r38.

Original comment by dbh@google.com on 11 Nov 2010 at 3:19