Menu

#6 can't compile example

open
nobody
None
5
2006-09-26
2006-09-26
Anonymous
No

Hi,
I tried compiling the example code in the JudySL man
page, but am getting errors that I believe are due to
non ansi C extensions. However when I compile using
gcc -std=c99, I still get the errors:
stray '\342' in program

I've also tried the Portland Group compiler using
pgcc -B and I get similar error messages:
PGC-S-0025-Illegal character: '/37777777742'

Any ideas on how I can compile the code ?
Thanks,
Bill

Discussion

  • Nobody/Anonymous

    code from man page for JudySL

     
  • Nobody/Anonymous

    Logged In: NO

    Found the problem - it was an error in one of the
    characters pasted from the man page - should have seen it
    coming.

    However, I'm trying to figure out how to use Judy as an
    associative array similar to a perl hash data structure -
    do you have an example code illustrating this?
    Thanks,
    Bill

     

Log in to post a comment.