Skip to content
Snippets Groups Projects
  • benjamin.franksen's avatar
    77417872
    snc: added new switch -W to turn on extra warnings · 77417872
    benjamin.franksen authored
    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.
    77417872
    History
    snc: added new switch -W to turn on extra warnings
    benjamin.franksen authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.