aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2007-12-13 11:46:43 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2007-12-13 11:46:43 +0100
commit2242f4ddc32a339aee5f44a36735dad9ae34e99a (patch)
tree748704f072898059e96ddba8e0f3270ae7ca75d8
parent4f9720e08cc23c80154beb113dce47b2cfce959c (diff)
downloadgcc-2242f4ddc32a339aee5f44a36735dad9ae34e99a.zip
gcc-2242f4ddc32a339aee5f44a36735dad9ae34e99a.tar.gz
gcc-2242f4ddc32a339aee5f44a36735dad9ae34e99a.tar.bz2
i-vxwork.ads: Kill new warning on Convention C, since changing the spec would break code.
* i-vxwork.ads: Kill new warning on Convention C, since changing the spec would break code. From-SVN: r130882
-rw-r--r--gcc/ada/i-vxwork.ads7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/i-vxwork.ads b/gcc/ada/i-vxwork.ads
index 4818a80..cfe410f 100644
--- a/gcc/ada/i-vxwork.ads
+++ b/gcc/ada/i-vxwork.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1999-2005, AdaCore --
+-- Copyright (C) 1999-2007, AdaCore --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -45,6 +45,11 @@
-- For complete documentation of the operations in this package, please
-- consult the VxWorks Programmer's Manual and VxWorks Reference Manual.
+pragma Warnings (Off, "*foreign convention*");
+pragma Warnings (Off, "*add Convention pragma*");
+-- These are temporary pragmas to supress warnings about mismatching
+-- conventions, which will be a problem when we get rid of trampolines ???
+
with System.VxWorks;
package Interfaces.VxWorks is