[Barrelfish-users] Compile error in lib/octopus/parser/parser.c

Kornilios Kourtis kornilios.kourtis at inf.ethz.ch
Thu Jul 5 10:13:22 CEST 2012

Hi Patrik,

On Wed, Jul 04, 2012 at 03:48:46PM +0000, Patrik Eklöf wrote:
> It seems there was a compile error in parser.c due to someone using bad
> coding practices of passing a string literal to a function expecting a
> char* (which really was expecting a string literal, though).  In case
> this error hasn't been fixed yet, I made a patch to fix the error.

The parser.c file is automatically generated by bison (yacc), which is why
lib/octopus/Hakefile silences some warnings for this particular file.
Based on one of your previous mails, I'm guessing that you generated
a new parse.c file.

You can check this using:
 hg diff ./lib/octopus/parser/parse.c

I think the real bug was the one in your previous mail about the yacc
error. I can't figure out why make decided to regenerate the file and I
can't reproduce it here. Maybe it was some kind of implicit make rule


Kornilios Kourtis

More information about the Barrelfish-users mailing list