RE: [Dev-C++] Couldn`t link MinGW DLL to MSVC program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <Mat...@Ve...> - 2005-04-13 19:58:56
|
Thanks for the heads-up, Per. I was getting really confused before, hehe! -----Original Message----- From: Per Westermark [mailto:pw...@ia...] Sent: Wednesday, April 13, 2005 12:57 PM To: Mat...@Ve... Cc: ja...@ya...; dev...@li... Subject: RE: [Dev-C++] Couldn`t link MinGW DLL to MSVC program That is correct - no name mangling for C. But you may still get some extra characters in the names. The normal is that you get a leading '_' for all external C symbols but to my knowledge there exists environments where a '$' first or last might be used. The leading '_' was added to place the C symbols in their own "namespace" to avoid name collisions with operating system symbols, i.e. open is a OS function while _open is the function available in the C standard library and called by the C code. /Per W ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |