Displaying 4 results from an estimated 4 matches for "print_msg".
Did you mean:
print_mac
2011 Aug 15
2
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg()
...6
llc -march=arm hello.bc -o hello.s //ARM
Can anyone tell me whether it's a bug so that I could submit the bug
on Bugzilla?
And any suggestion about how to fix this problem is appreciated.
----------- hello.c --------------------------
#include <stdio.h>
#include <stdarg.h>
void print_msg( const char *fmt, ... )
{
va_list ap;
va_start( ap, fmt );
vprintf( fmt, ap );
va_end( ap );
}
int main()
{
print_msg( "hello\n" );
return 0;
}
-----------------------------------------------
Regards,
Leo
2011 Aug 15
0
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg()
...>
> Can anyone tell me whether it's a bug so that I could submit the bug
> on Bugzilla?
> And any suggestion about how to fix this problem is appreciated.
>
> ----------- hello.c --------------------------
> #include <stdio.h>
> #include <stdarg.h>
> void print_msg( const char *fmt, ... )
> {
> va_list ap;
> va_start( ap, fmt );
> vprintf( fmt, ap );
> va_end( ap );
> }
> int main()
> {
> print_msg( "hello\n" );
> return 0;
> }
> -----------------------------------------------
>
>
> Rega...
2011 Aug 15
1
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg()
...whether it's a bug so that I could submit the bug
>> on Bugzilla?
>> And any suggestion about how to fix this problem is appreciated.
>>
>> ----------- hello.c --------------------------
>> #include <stdio.h>
>> #include <stdarg.h>
>> void print_msg( const char *fmt, ... )
>> {
>> va_list ap;
>> va_start( ap, fmt );
>> vprintf( fmt, ap );
>> va_end( ap );
>> }
>> int main()
>> {
>> print_msg( "hello\n" );
>> return 0;
>> }
>> -------------------...
2011 Aug 16
0
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg() (RESOLVED)
...>>>> on Bugzilla?
>>>> And any suggestion about how to fix this problem is appreciated.
>>>>
>>>> ----------- hello.c --------------------------
>>>> #include <stdio.h>
>>>> #include <stdarg.h>
>>>> void print_msg( const char *fmt, ... )
>>>> {
>>>> va_list ap;
>>>> va_start( ap, fmt );
>>>> vprintf( fmt, ap );
>>>> va_end( ap );
>>>> }
>>>> int main()
>>>> {
>>>> print_msg( "hello\...