Menu

#71 mknbi fix for compilation with gcc4

open
nobody
None
5
2006-05-19
2006-05-19
Anonymous
No

mknbi-1.4.4 has conflicting declaration of a variable
as extern in header and static in source file.
The doesn't work with gcc4 and I cannot imagine how
it was supposed to work earlier (probably gcc
ignoring the static...).

I think the rather trivial patch does no harm, but
please judge for yourself.

Greetings,

Thomas.

PS: If you have questions, please contact me at
thomas-forum@orgis.org

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The patch is actually at

    http://bugs.sourcemage.org/attachment.cgi?d=5599&action=view

    (please excuse the harsh comment I added in there... it's
    just that this issue is creeping up now in various places,
    apparently, and mknbi was not the first code that showed me
    this)

    Thomas.

     
  • Nobody/Anonymous

    Logged In: NO

    Ok, ok... the correct URL is:

    http://bugs.sourcemage.org/attachment.cgi?
    id=5599&action=view

    (one letter missing)

    Thomas.

     

Log in to post a comment.

MongoDB Logo MongoDB