On Saturday, 2 November 2024 23:24:50 EDT Garry T. Williams wrote:
> I am trying to port deal to tcl 9.0.0 and I am stuck.
> 
> My package required many changes mostly changing certain int variables
> to type Tcl_Size (aka long).  I got down to only one error compiling
> any file that includes tcl.h.  My minimal test case is:
> 
>     #include <tcl.h>
>     int main () {
>         return 1;
>     }
> 
> which produces this error when I copy the gcc command generated in
> mock:
> 
>     In file included from foo.c:1:
>     /var/lib/mock/fedora-rawhide-x86_64/root/usr/include/tcl.h:2553:14: 
> error: expected ‘;’ before ‘void’
>      2553 | static inline void
>           |              ^~~~~
>           |              ;

Please disregard.

I noticed this very old code was adding -ansi to the gcc command and
that caused the error for some reason.  I removed that and I'm good to
go now.

Sorry for the noise.

-- 
Garry T. Williams



-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to