With the added -pedantic flag for GCC, the plugin fails to compile on Ubuntu using the firefox-dev package for NPAPI headers. Using the npapi-sdk directly has the same problem, but oddly enough the outdated ArchLinux npapi-sdk doesn't.
The warning that causes it to bail out is the following: "ISO C99 doesn’t support unnamed structs/unions [-Werror=edantic]" coming from the NPAPI headers. This is a problem even though -std=gnu99 is defined, which sounds like a bug to me, but not one that I can work around.
Best option I can see will be to remove -pedantic... just making sure that I document why in here first.
With the added
-pedantic
flag for GCC, the plugin fails to compile on Ubuntu using thefirefox-dev
package for NPAPI headers. Using thenpapi-sdk
directly has the same problem, but oddly enough the outdated ArchLinuxnpapi-sdk
doesn't.The warning that causes it to bail out is the following: "ISO C99 doesn’t support unnamed structs/unions [-Werror=edantic]" coming from the NPAPI headers. This is a problem even though
-std=gnu99
is defined, which sounds like a bug to me, but not one that I can work around.Best option I can see will be to remove
-pedantic
... just making sure that I document why in here first.