Displaying 4 results from an estimated 4 matches for "_z4contv".
2006 Nov 06
0
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
Hi Napi,
On Mon, 2006-11-06 at 10:44 +0800, Mohd-Hanafiah Abdullah wrote:
> Hi:
>
> I've been able to compile the attached "helloworld.c" file converted
> from "helloworld.cpp".
Great.
>
> My question is how does one usually use __main() and CODE_FOR_MAIN()
> in tying up with the rest of the code?
I'm not quite sure what you're asking.
2006 Nov 06
2
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
Hi:
I've been able to compile the attached "helloworld.c" file converted
from "helloworld.cpp".
My question is how does one usually use __main() and CODE_FOR_MAIN()
in tying up with the rest of the code?
Attached here are the original "helloworld.cpp" and "helloworld.c"
files.
Thanks.
Napi
On Sun, 2006-11-05 at 09:14 -0800, Reid Spencer wrote:
>
2006 Nov 06
0
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
Hi Napi,
On Mon, 2006-11-06 at 12:17 +0800, Mohd-Hanafiah Abdullah wrote:
> On Sun, 2006-11-05 at 19:06 -0800, Reid Spencer wrote:
> ...
> > As for the __main function, its a gcc library call required by the
> > compiler for program startup. The details vary but the call is needed.
> > Amongst other things it will probably initialize your C++ static
> >
2006 Nov 06
2
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
On Sun, 2006-11-05 at 19:06 -0800, Reid Spencer wrote:
...
> As for the __main function, its a gcc library call required by the
> compiler for program startup. The details vary but the call is needed.
> Amongst other things it will probably initialize your C++ static
> constructors.
Hi Reid:
I'm not using gcc for this purpose but another C compiler called AMPC.
It compiles C