-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've found a *bug*!

In drvlib.h, there are declarations of the htons() etc family of macros.
Unfortunately, on big-endian systems, these have already been #defined
to noops in sys/endian.h, thus resulting in really weird compilation errors.

The fix is trivial; remove the declarations from drvlib.h.

So I now have a patch, in my shiny new git tree. What should I do with
it? Check in locally and push? This looks like a good test case for
figuring out the git workflow.

(BTW, as a related matter: none of the function declarations I've seen
use 'extern'. This may cause issues on certain rather weird
architectures where symbols don't become global unless they're declared
as such. OTOH they may be too weird for Prex to complain about.)

- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "They laughed at Newton. They laughed at Einstein. Of course, they
│ also laughed at Bozo the Clown." --- Carl Sagan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpKp8kACgkQf9E0noFvlziBgwCgmxNyjDEo73x/YZeAeUlzxNEu
b8wAnieA7Q/YxT26NgyENedU5W5JTIqi
=1MeF
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to