]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i-vxwork.ads: Kill new warning on Convention C, since changing the spec would break...
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 13 Dec 2007 10:46:43 +0000 (11:46 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 13 Dec 2007 10:46:43 +0000 (11:46 +0100)
* i-vxwork.ads: Kill new warning on Convention C, since changing the
spec would break code.

From-SVN: r130882

gcc/ada/i-vxwork.ads

index 4818a808f316e233c9f54ced7c499a71b01910a4..cfe410fadb9c032cc2b98135e5c73269bdc442f4 100644 (file)
@@ -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- --
 --  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