This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] gnatmake and non ASCII unit names


When gnatmake is invoked on a project file where there are unit names
with non ASCII characters that have a specific naming scheme, the
the compiler is unable to find the correct source file names.
This patch corrects this.
The test is to run gnatmake on a project such as:

project Prj is
   for Main use ("main.adb");
   package Naming is
     for Spec ("C250002_["C1"]") use "c250002_aa.ads";
     for Body ("C250002_["C1"]") use "c250002_aa.adb";
   end Naming;
end Prj;

Tested on x86_64-pc-linux-gnu, committed on trunk

2011-09-01  Vincent Celier  <celier@adacore.com>

	* prj-env.adb (Create_Config_Pragmas_File.Check): Put all naming
	exceptions in the config pragmas file.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]