#44 bulld mingw - warnings

closed-wont-fix
nobody
None
5
2004-10-29
2004-10-29
No

I try build Psyco from mingw32
And I have warnings:

c/codegen.c:122: warning: 'psyco_source_condition'
defined but not used
c/Objects/plistobject.c:116:
warning: 'PsycoList_SingletonNew' defined but not used
c/Objects/plistobject.c:301:
warning: 'PsycoList_Append' defined but not used
c/Objects/compactobject.c:73:
warning: 'PyCompact_New' defined but not used

My Os: Win32 XP + SP1
Python 2.3.4
gcc (GCC) 3.4.2 (mingw-special)
mingw runtime: __MINGW32_VERSION 3.5
w32api packet: __W32API_VERSION 3.1

Discussion

  • Armin Rigo

    Armin Rigo - 2004-10-29
    • status: open --> closed-wont-fix
     
  • Armin Rigo

    Armin Rigo - 2004-10-29

    Logged In: YES
    user_id=4771

    These warnings are expected. These are functions that are only used in some configuration (Python version, back-end, etc...). There are already enough #ifdef all around the place, I don't really want to worry about not defining functions exactly when they will not be used. The linker will remove them anyway. If you want to contribute GCC attributes to shut up these warnings you're welcome.

     

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