Author ned.deily
Recipients benjamin.peterson, miss-islington, ned.deily
Date 2019-06-28.18:12:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561745573.2.0.167135404745.issue37437@roundup.psfhosted.org>
In-reply-to
Content
The expat update introduces unsightly build warnings:

gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I./Include/internal -DHAVE_EXPAT_CONFIG_H=1 -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI -I/Users/nad/Projects/PyDev/active/dev/3x/source/Modules/expat -I./Include -I. -I/Users/nad/Projects/PyDev/active/dev/3x/source/Include -I/Users/nad/Projects/PyDev/active/dev/3x/source -c /Users/nad/Projects/PyDev/active/dev/3x/source/Modules/expat/xmlparse.c -o build/temp.macosx-10.14-x86_64-3.9/Users/nad/Projects/PyDev/active/dev/3x/source/Modules/expat/xmlparse.o -Wno-implicit-fallthrough
/Users/nad/Projects/PyDev/active/dev/3x/source/Modules/expat/xmlparse.c:3027:11: warning: code will never be executed
      [-Wunreachable-code]
          parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf, 0);
          ^~~~~~
/Users/nad/Projects/PyDev/active/dev/3x/source/Modules/expat/xmlparse.c:3026:18: note: silence by adding parentheses to
      mark code as explicitly dead
        else if (0 && parser->m_characterDataHandler)
                 ^
                 /* DISABLES CODE */ ( )
/Users/nad/Projects/PyDev/active/dev/3x/source/Modules/expat/xmlparse.c:3728:9: warning: code will never be executed
      [-Wunreachable-code]
        parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf, 0);
        ^~~~~~
/Users/nad/Projects/PyDev/active/dev/3x/source/Modules/expat/xmlparse.c:3727:16: note: silence by adding parentheses to
      mark code as explicitly dead
      else if (0 && parser->m_characterDataHandler)
               ^
               /* DISABLES CODE */ ( )
2 warnings generated.
History
Date User Action Args
2019-06-28 18:12:53ned.deilysetrecipients: + ned.deily, benjamin.peterson, miss-islington
2019-06-28 18:12:53ned.deilysetmessageid: <1561745573.2.0.167135404745.issue37437@roundup.psfhosted.org>
2019-06-28 18:12:53ned.deilylinkissue37437 messages
2019-06-28 18:12:52ned.deilycreate