#829 "missing initializer" compiler warning when using Python 2.5

closed-fixed
python (259)
5
2007-05-31
2007-05-29
Luke Moore
No

When compiling swig's output for use with Python 2.5, it gives the warning:

warning: missing initializer for member `PyNumberMethods::nb_index’

Attached is a patch to Lib/python/pyrun.swg that explicitly initializes the member.

For an example that illustrates the warning, see #1727629.

Discussion

  • Olly Betts

    Olly Betts - 2007-05-31
    • status: open --> closed-fixed
     
  • Olly Betts

    Olly Betts - 2007-05-31

    Logged In: YES
    user_id=14972
    Originator: NO

    Thanks, patch committed.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks