From 2242f4ddc32a339aee5f44a36735dad9ae34e99a Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Thu, 13 Dec 2007 11:46:43 +0100 Subject: [PATCH] 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 --- gcc/ada/i-vxwork.ads | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ada/i-vxwork.ads b/gcc/ada/i-vxwork.ads index 4818a808f31..cfe410fadb9 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