#1 Patch for gcc 3.4 and AMD64

closed
nobody
None
5
2007-05-04
2005-01-07
No

Here are some patches needed by gcc 3.4 and/or
x86_64.

In Error.h int must be changed to long because pointers
have different length than ints. Using a long it works at
least with 32 and 64 bit linux.

In the Makefile 3 sourcefiles have forgotten. Maybe
-Wstrict-prototypes and -Wmissing-prototypes should be
omitted as these options are for C only and gcc 3.4
throws warnings. (I've disabled USB as I can't test it).

In RCX_Image.h Chunk must be public, otherwise it won't
be seen by other classes.

And last, in SRecord.cpp I had to change the header
away from MS's cstring.h to string.h (don't know what
mem.h contains it isn't needed here) and have to use a
cast for strncmp.

PS: Maybe nqc could be put into the cvs.
PPS: It would be nice if the docs from Dave Baums
website would be offered here too (at least the three
PDF-docs guide, manual and ref-card), I would find it
bad, if they would get lost, if Dave closes his website for
nqc.

Regards,

Alexander

Discussion

  • John Hansen

    John Hansen - 2007-05-04
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks