develooper Front page | perl.wxperl.users | Postings from June 2017

[rt.cpan.org #121464] Compile fails with "error: expected identifierbefore string constant" from /CORE/unicode_constants.h

Thread Next
From:
Petr Pisar via RT
Date:
June 7, 2017 15:14
Subject:
[rt.cpan.org #121464] Compile fails with "error: expected identifierbefore string constant" from /CORE/unicode_constants.h
Message ID:
rt-4.0.18-19112-1496848455-851.121464-15-0@rt.cpan.org
Wed Jun 07 11:14:15 2017: Request 121464 was acted upon.
Transaction: Correspondence added by ppisar
       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: KENTNL@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121464 >


Dne St 07.čen.2017 11:05:07, ppisar napsal(a):
> Because BOM_UTF8 belongs to public Perl API and it's private to Wx, I
> think Wx should rename it.

Actually wxGTK has already done it in commit:

commit 038809c2f657f03d8688d7a75ca416878dfa0de7
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Thu Oct 27 22:48:54 2011 +0000

    Make BOM-detection code in wxConvAuto public.
    
    Export GetBOM() and DetectBOM() functions.
    
    Also rename BOMType enum elements to use "wx" prefix now that they're public.
    
    Closes #13599.
    
    git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About