Thu Mar 29 22:57:55 2018: Request 121464 was acted upon. Transaction: Correspondence added by KENTNL Queue: Wx Subject: Compile fails with "error: expected identifier before string constant" from /CORE/unicode_constants.h Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ken...@cpan.org Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121464 >
Some more follow up for people who stumble upon this bug: This problem as stated only occurs in with wxGTK 2.8, not with wxGTK 3.0 wxGTK 3.0 uses 'wxBOM_UTF8' for the enum instead and thus doesn't collide with perls UTF8_BOM macro. Subsequently, a viable fix that might be at your disposal is to make sure your tooling only builds against wxGTK 3.0, not wxGTK 2.8. Note that if you go that way, you'll have to do so with Alien-wxWidgets first. -- - CPAN ken...@cpan.org - Gentoo Perl Maintainer ken...@gentoo.org ( p...@gentoo.org )