Skip to content
Snippets Groups Projects
Commit 77417872 authored by benjamin.franksen's avatar benjamin.franksen
Browse files

snc: added new switch -W to turn on extra warnings

This is in preparation of supporting indirect calls which cause foreign
functions to be reported as undefined variables. Without -W (which is
the default) *no* "undefined variable" warnings will be given. This is
ok, since if they really are undefined the C compiler will flag them as
errors anyway.

This makes foreign declarations obsolete. With hindsight introducing
them was a mistake. I should probably deprecate them.
parent 95099d99
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment