Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!ctrsol!ginosko!gem.mps.ohio-state.edu!apple!motcsd!hpda!hpcupt1!swh From: swh@hpcupt1.HP.COM (Steve Harrold) Newsgroups: comp.lang.c Subject: Re: for Turbo C ? Message-ID: <5940012@hpcupt1.HP.COM> Date: 13 Oct 89 16:02:39 GMT References: <5940011@hpcupt1.HP.COM> Organization: Hewlett Packard, Cupertino Lines: 35 Re: vs Even though the file has definitions for "va_start", "va_arg", and so on, these definitions are not the same as found in the file. #include #include void va_start(argptr) ; void va_start(argptr,prevparam) ; type va_arg(argptr,type) ; type va_arg(argptr,type) ; void va_end(argptr) ; void va_end(argptr) ; va_alist va_list argptr; va_dcl type function(va_alist) type function(param) va_dcl /* no semicolon */ type param ; {...code...} {...code...} Even though the files are short, the #defines are rather convoluted, rather reminiscent of APL style coding. Rather than spend the time to study how stacks are created and manipulated by the Turbo C compiler and then to produce a reliable "port" of Turbo C's file to (including the labor of creating test cases), I've always resorted to dropping Turbo C for Microsoft C whenever I handle source code that uses . I'm still hopeful that some kind soul will step forward with a solution. -- --------------------- Steve Harrold swh@hpda.hp.com ...hplabs!hpda!swh HPG200/11 (408) 447-5580 ---------------------