#12 namespace pollution

open
nobody
None
5
2012-10-31
2004-01-25
No

please use FI_Plugin or something like that instead of
Plugin.

I think it's not that uncommon to have own plugin
system and using freeimage for resource manager plugin.
FI_Plugin would give less problems here. And with other
typedefs you also use FreeImage präfix.

Discussion

  • I have the same problem, having such a common name as Plugin in the common namespace could generate a lot of headaches. If in this case, chageing the name is too probematic, instead, you can try to add a namespace to the library an encapsulate all the symbols in it. Just a suggestion, hope it helps.

    Daniel Brenner

     


Anonymous


Cancel   Add attachments