tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] simple #ifdef causes "error: function pointer expecte


From: arnold
Subject: Re: [Tinycc-devel] simple #ifdef causes "error: function pointer expected"
Date: Thu, 21 May 2020 06:07:58 -0600
User-agent: Heirloom mailx 12.5 7/5/10

This isn't valid C. The preprocessor doesn't know about sizeof.

Arnold

Massimo Sala <address@hidden> wrote:

> Hi
>
> Compiling the attached sample, tcc bails out with "error: function pointer
> expected"
> Pls, how can I fix ?
> Best regards, Massimo
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
>
> int main()
> {
> printf("ciao\n");
> #if sizeof(size_t) == 64
> printf("big boss\n");
> #endif
> return 0;
> }



reply via email to

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