-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Niels Provos wrote: > I submitted this to trunk. I don't think it's ideal but a fine > solution for now. > When I use trunk I get lots of errors with redefines because my own config.h conflicts with evconfig.h: warning: "PACKAGE_BUGREPORT" redefined warning: "PACKAGE_NAME" redefined warning: "PACKAGE_STRING" redefined warning: "PACKAGE_TARNAME" redefined warning: "PACKAGE_VERSION" redefined
Perhaps only the part of config.h that is needed - the uint8 defines and so, without the _HAVE_.. and PACKAGE_ defines could be put in evconfig.h? Or perhaps give an option to disable inclusion of evconfig.h, change event.h to have these lines? #ifndef DO_NOT_INCLUDE_EVCONFIG_H #include <evconfig.h> #endif How did those other large projects that were alluded to solve this? Best regards, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFF5T+zkDLqNwOhpPgRAnRYAKCR+fYwXVjJ8XJxog99MxQzljI7hACfQ99q 2sJN48JvNrMYlt2NWMV1L14= =vpz/ -----END PGP SIGNATURE----- _______________________________________________ Libevent-users mailing list [email protected] http://monkey.org/mailman/listinfo/libevent-users
