SourceForge has been redesigned. Learn more.
Close

#1348 swig 2.0.10 regression since 2.0.8

None
closed-out-of-date
nobody
None
5
2016-09-12
2013-10-30
No

package player used to compile correctly with swig 2.0.8
https://launchpadlibrarian.net/140615990/buildlog_ubuntu-saucy-amd64.player_3.0.2%2Bdfsg-4ubuntu4_UPLOADING.txt.gz

But now with 2.0.10 it fails to compile like so:
https://launchpadlibrarian.net/155392274/buildlog_ubuntu-trusty-amd64.player_3.0.2%2Bdfsg-4.1ubuntu1_FAILEDTOBUILD.txt.gz

Looking at the buildlog:
/build/buildd/player-3.0.2+dfsg/obj-x86_64-linux-gnu/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function '_wrap_new_playerc_client':
/build/buildd/player-3.0.2+dfsg/obj-x86_64-linux-gnu/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:50489:20: warning: implicit declaration of function 'newplayerc_client_t' [-Wimplicit-function-declaration]
result = (struct _playerc_client_t *)new
playerc_client_t(arg1,(char const *)arg2,arg3);

looking at original code, there is playerc_clicent_t struct, but it's not a class/object and thus doesn't have any "new" or "create_" methods.

This could be a bug in player, or regression/"bug fix" in swig. Please help me to resolve this.

Discussion

  • William Fulton

    William Fulton - 2014-03-07

    Have you fixed this? If not, what are the instructions to replicate this?

     
  • Olly Betts

    Olly Betts - 2016-09-12
    • status: open --> closed-out-of-date
    • Group: -->
     
  • Olly Betts

    Olly Betts - 2016-09-12

    More information requested 2.5 years ago, but no response from submitter so closing as out-of-date.

    We're no longer actively using the SF tracket, but if you can reproduce with current SWIG, please open a ticket at https://github.com/swig/swig

     

Log in to post a comment.