#17 Missing semicolon in pstringobject.c

closed-fixed
nobody
5
2003-02-13
2003-02-10
No

Psyco won't compile in winXP unless I toss in a
semicolon in the default branch of the switch at line
688 in psyco_richmemcmp.

/* different sizes */
switch (op) {
case Py_EQ:
return 0;
case Py_NE:
return 1;
default:
;/* pass */
}

I added the ';' and it compiles fine. Some might argue
that it should instead be 'break;', don't know if it
matters.

-tim

Discussion

  • Armin Rigo

    Armin Rigo - 2003-02-13
    • status: open --> closed-fixed
     
  • Armin Rigo

    Armin Rigo - 2003-02-13

    Logged In: YES
    user_id=4771

    fixed, thanks.

     

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