Hi,
    I just wanted to clarify what I am doing. I was able to install
libmemcached on my Linux Fedora m/c.
Since I wanted to understand how to make the calls I copied the
*.c,*.h files from the libmemcached-0.39/tests
to another folder and tried to build them. Thats when I get the
error.

The 'make test' works fine so there is some flag/setup that I am
missing that is causing the error.
Any help will be truly appreciated.

Thanks
Ganesh

On Mar 21, 6:21 pm, TV Ganesh <[email protected]> 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

Reply via email to