SirWumpus / post4

Post4 is an indirect threaded Forth dialect written in C.
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

Turn on more compiler warnings. #50

Closed SirWumpus closed 1 week ago

SirWumpus commented 1 week ago

From #46, enable more compiler warnings -Wall -Wextra to catch some of the more subtle potential errors (mixed signs, type issues); essentially treat warnings like errors.

Note -pedantic is too much and highlights many gcc specific features that are not ISO. In particular "address of a label" which is required (Clang supports it).