Can't built GCC 4.2 or 4.3 with GCJ Web Plugin enabled because pkgconfig --cflags firefox-plugin doesn't list the directory containing nsISupports.h, included from various files in /usr/include/firefox-2.0.0.4/plugin Version-Release number of selected component (if applicable): firefox-2.0.0.4-2.fc7
You're supposed to also use pkgconfig --cflags firefox-xpcom to build if you need nsISupports.
I don't know that I need nsISupports. It's just that some header files in plugin/ include nsISupports.h. Therefore, firefox-plugin might as well be helpful and provide the additional needed -I flags. Otherwise it becomes necessary to always use firefox-xpcom cflags after firefox-plugin. Oddly, the #includes are "", not <>, so it even looks like nsISupports.h was expected to be in the same directory as the plugin headers. Is this some packaging error?
(In reply to comment #2) > I don't know that I need nsISupports. It's just that some header files in > plugin/ include nsISupports.h. Therefore, firefox-plugin might as well be > helpful and provide the additional needed -I flags. Otherwise it becomes > necessary to always use firefox-xpcom cflags after firefox-plugin. Only the nsI* files require nsISupports (and thus require xpcom). If you're only including the np* stuff for the basic NPAPI support, you don't need to pull in the rather heavy xpcom dependency. This behavior is intentional from upstream. See https://bugzilla.mozilla.org/show_bug.cgi?id=366113 > Oddly, the #includes are "", not <>, so it even looks like nsISupports.h was > expected to be in the same directory as the plugin headers. Is this some > packaging error? This is how upstream ships it.
Closing as NOTABUG.