Summary: | app-text/mbtpdfasm-1.0.28-r1 : /.../type_traits.h:152:30: error: ‘__ptr’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | martin, mgorny, plevine457, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending removal: 2017-08-14 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
app-text:mbtpdfasm-1.0.28-r1:20160921-025446.log
emerge-history.txt environment |
Description
Toralf Förster
2016-09-21 17:02:40 UTC
Created attachment 447100 [details]
app-text:mbtpdfasm-1.0.28-r1:20160921-025446.log
Created attachment 447102 [details]
emerge-history.txt
Created attachment 447104 [details]
environment
The reason for this bug is that apparently "_Type" has a reserved meaning for current versions of gcc (I suppose >=gcc-6) and thus must not be used as a preprocessor macro name. A bugfix is to replace "_Type" by a name without collisions globally in the source directory. This can be done by adding the line sed -i -e s/_Type/_m_Type/ "$S"/{diversPdf.{h,c}pp,pdfFile.cpp} to src_prepare() 'Apparently' any name starting with underscore followed by uppercase is reserved for the compiler by the standards. Filed upstream: https://mbtpdfasm.codeplex.com/workitem/1 IMHO, not worth it to patch downstream. Most macros in `diversPdf.hpp` violate the standard and, at any point, could conflict with implementation-defined macros or intrinsics or, worse yet, inadvertently override them. commit f82193ea414a5b4684f0d1bdb43ba855fb0c7748 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Mon Aug 14 21:56:23 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Mon Aug 14 22:00:12 2017 app-text/mbtpdfasm: Remove last-rited pkg, #594668 |