codereport / jsource

J Language Source Code. Livestream links ⬇️
https://www.youtube.com/playlist?list=PLVFrD1dmDdvfVhYLU_iKkV67X9XqCJLWe
Other
38 stars 20 forks source link

Add workaround for compile error on stricter C++ compilers #164

Closed herwinw closed 3 years ago

herwinw commented 3 years ago

G++ 10.2 triggered this problem, but there might be more. To work around this problem, create a C file that does the casting and call that instead.

This fixes my build problems described in #162, but it feels like a terrible hack.

codereport commented 3 years ago

@herwinw I think this PR can be closed now, right?

herwinw commented 3 years ago

Yes, I just closed it