NO

Author Topic: POLINK: error: Unresolved external symbol '_memicmp@12'.  (Read 4048 times)

tpekar

  • Guest
POLINK: error: Unresolved external symbol '_memicmp@12'.
« on: July 28, 2011, 09:26:54 PM »
I have 2 references to memicmp in static libraries and I get the above error from polink.  Microsoft documentation says memicmp is in libc.lib or libcmt.lib.  Where do I find these?

CommonTater

  • Guest
Re: POLINK: error: Unresolved external symbol '_memicmp@12'.
« Reply #1 on: July 28, 2011, 09:43:06 PM »
First...  Look it up in your help file... In case you haven't discovered it yet, Pelles C comes with just about the best help file I've ever seen... Highlight the keyword and press F1.

Anway... memicmp() is not a standard C function.   This means that in Pelles C it is prefixed with an underscore as in ... _memicmp()  ....  #include <string.h> to access it and check "Define Compatibility Names" in your Project Settings.