Xref: utzoo comp.lang.c:35940 comp.sources.wanted:15205 comp.std.c:4275 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!modulex!morten From: morten@modulex.dk (Morten Hastrup) Newsgroups: comp.lang.c,comp.sources.wanted,comp.std.c Subject: Converting ANSI-C to non-ANSI-C, Please help. Message-ID: <712@modulex.dk> Date: 8 Feb 91 11:17:30 GMT Organization: A/S MODULEX, Copenhagen, Denmark Lines: 33 Does anyone outthere have/know of any tool(converter) capable of converting ANSI-C to non-ANSI. Ex.: return_type function(type1 arg1) { .... /* something is going on */ } is converted into: #ifdef __STDC__ /* or something other than __STDC__ */ return_type function(type1 arg1) #else return_type function(arg1) type1 arg1; #endif { .... /* something is going on */ } My problem is that our sun doesn't have any ANSI compiler. Please help me. Morten ------------------------------------------------ A/S MODULEX Phone: (+45) 44 53 30 11 Lyskaer 15 Fax: (+45) 44 53 30 74 DK-2730 Herlev Denmark Morten Hastrup Email: morten@modulex.dk ------------------------------------------------