cmm: - unused extern symbols now don't add to COFF symbol table (this reduce import table in executables)

- extern symbols now also a dynamical variable (this suppress warning if variable is unused)


git-svn-id: svn://kolibrios.org@9722 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Coldy 2022-02-21 12:27:22 +00:00
parent 6cd77c47ef
commit 55a4e5cd76
2 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -9811,6 +9811,11 @@ int next;
}
else{
itok.flag=f_extern;
// { Added by Coldy
// extern is dynamical variable
// This also suppress warning if variable is unused
dynamic_flag = TRUE;
// }
switch(tok){
case tk_far:
case tk_cdecl: