Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#478 closed defect (fixed)

string literals from source code

Reported by: vadim.godunko Owned by:
Priority: major Milestone: 18.0
Component: Matreshka - a2js Version:
Keywords: Cc:


A2JS doesn't pass -gnatW8 switch to GNAT compiler, and, as result, string literals out of ASCII range are represented incorrectly in generated code.

Change History (4)

comment:1 by vadim.godunko, 4 years ago

In 5746:

Add switch for GNAT compiler to enable UTF-8 support.

Refs #478.

comment:2 by vadim.godunko, 4 years ago

Resolution: fixed
Status: newclosed

comment:3 by Maxim Reznik, 4 years ago

I used the switche in corresponding project file:

   Target_Name := project'Target;

   package Compiler is

      case Target_Name is
         when "javascript" =>
            for Switches ("Ada") use ("-gnatW8");

comment:4 by vadim.godunko, 3 years ago


Milestone renamed

Note: See TracTickets for help on using tickets.