Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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
  • Logged In: YES
    user_id=16123
    Originator: NO

    Thanks!

     
    • status: open --> closed-accepted