codereport / jsource

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

Turn on compiler errors #109

Closed juntuu closed 3 years ago

juntuu commented 3 years ago

This might resolve #90 and also resolve #89

Lets see if it builds also on linux, I only tested on mac locally.

At the moment the following warnings (and counts) are generated (and ignored from errors) by gcc on the ci, but not clang on osx:

   2 -Wsequence-point
   3 -Wstrict-overflow
   4 -Wlogical-not-parentheses
juntuu commented 3 years ago

Seems like there are quite different settings for gcc/clang regarding disabled warnings.

I'll continue with this a bit, and see if I get it working.