Bug 1031326

Summary: libidn fails to build with GCC 7
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: DevelopmentAssignee: Tomáš Chvátal <tchvatal>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1030236    

Description Martin Liška 2017-03-28 12:08:18 UTC
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/libidn/standard/x86_64

[   83s] test-intprops.c:279:42: error: expected expression before '==' token
[   83s]      VERIFY (INT_MULTIPLY_OVERFLOW (a, b) == (v))
[   83s]                                           ^
[   83s] ../gl/verify.h:251:31: note: in definition of macro 'verify'
[   83s]  #define verify(R) _GL_VERIFY (R, "verify (" #R ")")
[   83s]                                ^
[   83s] test-intprops.c:279:5: note: in expansion of macro 'VERIFY'
[   83s]      VERIFY (INT_MULTIPLY_OVERFLOW (a, b) == (v))
[   83s]      ^~~~~~
[   83s] test-intprops.c:274:5: note: in expansion of macro 'CHECK_PRODUCT1'
[   83s]      CHECK_PRODUCT1(b, a, t, v, vres)
[   83s]      ^~~~~~~~~~~~~~
[   83s] test-intprops.c:301:3: note: in expansion of macro 'CHECK_PRODUCT'
[   83s]    CHECK_PRODUCT (0u, 0u, unsigned int, false, DONTCARE);
[   83s]    ^~~~~~~~~~~~~

Can be tested in openSUSE:Factory:Staging:Gcc7 project.
Comment 1 Tomáš Chvátal 2017-04-12 11:12:11 UTC
I fixed it with update while not noticing this bug.