On OpenBSD 4.3 with gcc 3.3.5, you cannot include the header file opensc/cardctl.h when compiling with -Wall -Werror. The #pragma pack(push, 1) and #pragma pack(pop) are not supported by the build system.
/usr/local/include/opensc/cardctl.h:517: warning: #pragma pack(push[, id], <n>) is not supported on this target /usr/local/include/opensc/cardctl.h:645: warning: #pragma pack(pop[, id], <n>) is not supported on this target If these pragma's are not of vital importance, the configure script should test for the pragma support and then; #ifdef HAS_PRAGMA_PACK_SUPPORT #pragma pack(push, 1) #endif #ifdef HAS_PRAGMA_PACK_SUPPORT #pragma pack(pop) #endif Frank
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel