[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gperf bug report
From: |
Bruno Haible |
Subject: |
Re: gperf bug report |
Date: |
Sun, 27 Jul 2008 02:39:59 +0200 |
User-agent: |
KMail/1.5.4 |
Hi,
Paul Pedriana <address@hidden> wrote on 2008-06-30:
> gperf 3.0.3 (and later?) generates code which calls strcmp but doesn't
> include <string.h>. Needless to say, this results in a compiler error.
> I could not find any documentation that justifies generating code like this.
> Is the user expected to edit the resulting generated code and add
> #include <string.h> manually?
The user is expected to
- either use the --includes command line option,
- or use the %includes directive inside the source file,
- or provide the necessary includes by himself.
This is documented, see
http://www.gnu.org/software/gperf/manual/gperf.html#Output-Details
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: gperf bug report,
Bruno Haible <=