[Swan-dev] #error as a macro body
D. Hugh Redelmeier
hugh at mimosa.com
Sun Dec 7 10:19:03 EET 2014
I don't think that's legal C.
It appears in
packaging/fedora/config-all.h:73:#define CONFIG_KLIPS_ALG_CRYPTOAPI #error
packaging/fedora/config-all.h:74:#define CONFIG_KLIPS_ALG_AES #error
packaging/openwrt/config-all.h:45:#define CONFIG_KLIPS_ALG_CRYPTOAPI #error
packaging/openwrt/config-all.h:46:#define CONFIG_KLIPS_ALG_AES #error
packaging/linus/config-all.h:73:#define CONFIG_KLIPS_ALG_CRYPTOAPI #error
packaging/linus/config-all.h:74:#define CONFIG_KLIPS_ALG_AES #error
packaging/ocf/config-all.h:79:#define CONFIG_KLIPS_ALG_CRYPTOAPI #error
packaging/ocf/config-all.h:80:#define CONFIG_KLIPS_ALG_AES #error
Maybe it works in GCC.
# by itself in a macro body ought to precede a macro parameter
(stringify).
What's up?
More information about the Swan-dev
mailing list