Re: Gitlab-ci? Re: Another c++ compile failure...

2024-05-22 Thread Vincent Torri
hello I don't understand the interest of compiling Freetype with a c++ compiler. The source code is written in C. By convention, CC is usually for C compilers. To compile C++ code, CXX env var should be used, not CC best regards Vincent Torri On Thu, May 23, 2024 at 3:16 AM Alexei Podtelezhniko

Re: Gitlab-ci? Re: Another c++ compile failure...

2024-05-22 Thread Alexei Podtelezhnikov
Hi Hin-Tak, These macros were never used before. I fixed them. Now I think they made the code less readable and I might revert to the old code. Thanks, Alexei On Wed, May 22, 2024 at 6:12 PM Hin-Tak Leung wrote: > > Actually it might be a good idea to stick CC=g++/clang++ as an additional job

Gitlab-ci? Re: Another c++ compile failure...

2024-05-22 Thread Hin-Tak Leung
Actually it might be a good idea to stick CC=g++/clang++ as an additional job in .gitlab-ci.yml ? I mean, it already does gcc and clang. On Wednesday 22 May 2024 at 23:05:47 BST, Hin-Tak Leung wrote: Should be obvious - needs casting from "void *" to "unsigned char *" and etc... Should

Another c++ compile failure...

2024-05-22 Thread Hin-Tak Leung
Should be obvious - needs casting from "void *" to "unsigned char *" and etc... Shouldn't be too hard to see yourself with CC=c++ when building... In file included from /__w/freetype2-demos-skia/freetype2-demos-skia/freetype2/src/truetype/truetype.c:22:/__w/freetype2-demos-skia/freetype2-demos-ski