|
|
|
|
|
by mansr
3481 days ago
|
|
What I said about inline is true of C99. C++ might be different though. It is also true that Unix linkers give an error if the final set of object files to link contain more than one external definition of the same symbol. The linker can't tell if functions were marked inline in the source code or not. A definition is a definition. The Microsoft object file format might record this information. If it does, it would appear to be a misguided decision that opens the door for the kind of breakage you're complaining about. |
|