tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] modern c++ compiler written in C


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] modern c++ compiler written in C
Date: Fri, 23 Oct 2015 01:39:06 +0300

> What is indata, what is your command line and which outdata I should look at?

# 2 "hello.C" 2
extern "C" void* malloc2(unsigned);
main()
{
    void *p = malloc2(10);
}

../cfront +L +fhello.C < hello.i > hello..c

#line 2 "hello.C"
extern char *malloc2 (); // ??????????????????
int main (){ _main();
#line 4 "hello.C"
{
#line 5 "hello.C"
char *__1p ;
#line 5 "hello.C"
__1p = malloc2 ( (unsigned int )10 ) ;
}
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]