#670 GCC Visibility fixes

closed-accepted
nobody
bugfix (702)
5
2007-04-28
2007-04-27
Andy
No

There are a couple of places where the GCC "visibility" isn't implemented correctly/completely.. This shows it's self as missing symbols when trying to link Python-Ogre against OgreMain..

There are 2 cases of classes missing _OgreExport

And as Singleton's are implemented as templates it also needs to specifically be set a visibility(default) -- it seems by default gcc makes templates 'hidden'

This has been tested with GCC 4.1.2 under Ubuntu - and with VC7.1 on windows where it has no effect :)
Cheers
Andy

Discussion

  • Andy

    Andy - 2007-04-27

    Visibility patch for gcc / linux

     
    Attachments
  • Steve Streeting

    Steve Streeting - 2007-04-28

    Logged In: YES
    user_id=16123
    Originator: NO

    Thanks!

     
  • Steve Streeting

    Steve Streeting - 2007-04-28
    • status: open --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks