[Bug ada/43041] Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2015-12-06 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43041

Eric Botcazou  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-12-06
 CC||ebotcazou at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #4 from Eric Botcazou  ---
Still fails on mainline.

[Bug ada/43041] Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2010-02-11 Thread mmarx at wh2 dot tu-dresden dot de


--- Comment #1 from mmarx at wh2 dot tu-dresden dot de  2010-02-11 17:51 
---
Created an attachment (id=19845)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19845action=view)
Expected Output

% gnatmake -f -gnatW8 u8   
gcc-4.4 -c -gnatW8 u8.adb
gnatbind -x u8.ali
gnatlink u8.ali
% ./u8
`[äöü]'
%


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43041



[Bug ada/43041] Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2010-02-11 Thread mmarx at wh2 dot tu-dresden dot de


--- Comment #2 from mmarx at wh2 dot tu-dresden dot de  2010-02-11 17:52 
---
Created an attachment (id=19846)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19846action=view)
Constraint_Error because the file is opened with bracket coding

% gnatmake -f -gnatW8 u8_fail
gcc-4.4 -c -gnatW8 u8_fail.adb
gnatbind -x u8_fail.ali
gnatlink u8_fail.ali
% ./u8-fail 

raised CONSTRAINT_ERROR : s-wchcnv.adb:209 explicit raise
%


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43041



[Bug ada/43041] Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2010-02-11 Thread mmarx at wh2 dot tu-dresden dot de


--- Comment #3 from mmarx at wh2 dot tu-dresden dot de  2010-02-11 17:52 
---
Created an attachment (id=19847)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19847action=view)
Test file

The test file used to demonstrate the issue.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43041