GCC doesn't allow members in anonymous aggregate: struct Matrix4x4 #47
Replies: 4 comments 3 replies
-
|
Hello zwillikon, |
Beta Was this translation helpful? Give feedback.
-
|
Hi T Soignier, thanks for your help. I wish'd I'd knew any C++ (just C)! With old versions of clang I tend to get myriad errors against GCC's libstdc++ my because it is getting ratcheted up by Mr. Wakely Your approach looks promising. Now only m is missing: |
Beta Was this translation helpful? Give feedback.
-
|
I tried it with gcc 15 on the 25.2 beta branch of the PicoGKRuntime, and it compiles fine. I think simply updating to gcc 15 does the trick. I have no bandwidth to make an official LINUX version of PicoGK, but I am adding a Dockerfile to the repo that I will check regularly and compile against, to simply catch bugs that do not show up on Clang and MSVC. |
Beta Was this translation helpful? Give feedback.
-
|
Here's the link to the instructions to set up Docker to compile PicoGK on LINUX: #77 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I struggle at compiling PicoGK with GCC, since the GNU compiler doesn't allow members with constructors in anonymous aggregates
I'm using (Linux) gcc 14.2.1, but older versions are also afflicted
Just inventing names wasn't sufficient:
leads to:
Beta Was this translation helpful? Give feedback.
All reactions