struct_et_list warnings with 2.3.9

David Newman dnewman at networktest.com
Fri Sep 7 16:55:15 EDT 2007


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

There may be a missing #include for a header file in the cyrus 2.3.9
sources.

Running make on cyrus 2.3.9 from the FreeBSD 6.2 ports collection
produces lots of these warnings:

"struct_et_list" declared inside parameter list.

I erroneously thought this was because I was using the UoA patches, but
that's not it. Aristotelis kindly debugged the issue:

"To keep your compilation warning free in file:
et/com_err.h  in the end (about line 102) just before the lines:

#define __COM_ERR_H
#endif /* ! defined(__COM_ERR_H) */

just add the line:
#include "error_table.h"

for me it helpded the situation a lot."

And for me too: After adding this include, make ran without warnings.

Thanks to Arisotelis for providing this fix.

dn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFG4bqzyPxGVjntI4IRAqK7AJ4nUeN8Ko7n0hOQEeT0RZt738qxdACg0685
9bghsNLgBRcnbJ+mJ7S1NLU=
=xSPw
-----END PGP SIGNATURE-----


More information about the Info-cyrus mailing list