This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/20012] New: 'pragma Compile_Time_Warning' adds quotation marks to warning text
- From: "berndtrog at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2005 18:13:05 -0000
- Subject: [Bug ada/20012] New: 'pragma Compile_Time_Warning' adds quotation marks to warning text
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hello,
when I compile this:
procedure Test2
is
Number : Integer := 2;
pragma Compile_Time_Warning
(Number > 1, " > NUmber Is GReater Than 1!");
begin
null;
end;
with gcc version 3.4.3:
gcc -c test2.adb
I get this warning:
test2.adb:6:10: warning: "nu"mber Is "gr"eater Than 1
gcc-4.0.0 has the same problem.
--
Summary: 'pragma Compile_Time_Warning' adds quotation marks to
warning text
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: berndtrog at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20012