Greetings,

why doesn't MASM support creating COMDEFs? The /Gy switch is missing, no result with it.
The /opt:ref switch wotx if i split the code to 1module/func, the garbage is stripped but maintaining the code in 20 or more files isn't just my idea.
Quite silly, what should | do about this? (static library)

/Gy   (Enable Function-Level Linking)


This option allows the compiler to package individual
functions in the form of packaged functions (COMDATs).
The linker requires that functions be packaged separately
as COMDATs to exclude or order individual functions in
a DLL or .EXE file. (To find this option in the development
environment, click Settings on the Project menu. Then
click the C/C++ tab, and click Customize in the Category
box.)


Why MASM removes the mangling from public C defined funcs? It's incompatible with itself, huh...

cheers,
Posted on 2003-02-11 14:49:24 by _Servil_
Posted on 2003-02-12 08:09:42 by Pone
seems it's just it,

thank you.
Posted on 2003-02-12 12:29:05 by _Servil_