Converting ANSI-C to non-ANSI-C, Please help.
Morten Hastrup
morten at modulex.dk
Fri Feb 8 22:17:30 AEST 1991
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 at modulex.dk
------------------------------------------------
More information about the Comp.lang.c
mailing list