ZaneA / WacomWebPlugin

An implementation of the Wacom Tablet Plugin API for NPAPI capable browsers on Linux.
GNU General Public License v3.0
52 stars 4 forks source link

Plugin doesn't compile on Ubuntu #10

Closed ZaneA closed 11 years ago

ZaneA commented 11 years ago

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.