Trond,
Thanks for the response. The details you asked for
OS: Linux (Fedora)
Compiler :gcc (used gcc -std=c99 -I/... )
Error: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before
‘*’ > > token in string.h
When I checked all the lines where it showed an error I saw the
keyword 'const'.
By the way I was able to run ./configure; make; make test; make
install without any error.
I copied all *.c.*.h from tests directory to a local directory and
tried to build it. That is when I get the error.
Please let me know if you need any other information.
Thanks
Ganesh
W
On Mar 21, 8:02 pm, Trond Norbye <[email protected]> wrote:
> On 21. mars 2011, at 06.21, TV Ganesh wrote:
>
> > Hi,
> > I am having a basic error when trying to use the gcc compiler to
> > compile the code user the tests folder. I get the error
> > error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’
> > token. The offending code is the 'const' keyword. Please let me know
> > if I have to use any special flag for const, bool keywords. I have
> > used std=c99 but I get the error.
>
> > I know this is too fundamental an error but any help will be
> > appreciated. Have done a fair amt of googling but of no help.
>
> > Thanks
> > Ganesh
>
> What is the:
> * os
> * compiler version
> * exact output from the compiler
>
> Trond