Bugs item #1494387, was opened at 2006-05-24 11:31 Message generated for change (Settings changed) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1494387&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: Python 2.5 >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: Joel Konkle-Parker (joeljkp) >Assigned to: Nobody/Anonymous (nobody) Summary: SVN longobject.c compiler warnings Initial Comment: >From SVN, longobject.c gives the following compiler warnings (Sun Studio 11): cc -xtarget=native64 -v -Xc -xc99=none -c -DNDEBUG -O -I. -I./Include -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c "Objects/longobject.c", line 1255: warning: statement not reached "Objects/longobject.c", line 1591: warning: statement not reached "Objects/longobject.c", line 1908: warning: statement not reached "Objects/longobject.c", line 1946: warning: statement not reached The attached patch fixes the problem. ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2006-05-25 18:30 Message: Logged In: YES user_id=31435 Thanks for the patch! I don't see an actual problem with the code as it was, and expect the compiler warnings are bogus. But your patch shouldn't hurt either, and makes the intent of the macro clearer to my eyes, so I applied it to the trunk (for Python 2.5). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1494387&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com