From owner-freebsd-hackers Tue Mar 4 06:11:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA23607 for hackers-outgoing; Tue, 4 Mar 1997 06:11:42 -0800 (PST) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA23599 for ; Tue, 4 Mar 1997 06:11:38 -0800 (PST) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.5/8.8.2) id PAA02442 for FreeBSD-hackers@freebsd.org; Tue, 4 Mar 1997 15:11:34 +0100 (MET) From: Guido van Rooij Message-Id: <199703041411.PAA02442@gvr.win.tue.nl> Subject: gcc question To: FreeBSD-hackers@freebsd.org (FreeBSD-hackers) Date: Tue, 4 Mar 1997 15:11:34 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've got a question about interfacing between `normal' c and -traditional. I have an API that is compiled with no -traditional flag that expects the folowing parameters: char *, char, char * I want to call this program from within something that has to be compiled with -traditional. When I'd call this api function the secod argument will be treated differently by the -traditional program and tha API function (for which I do not have the source). My question: how can I still interface between the two, without having to write a wrapper (becasue I think that is ugly). -Guido