Linker warnings when using stdscr (ncurses)

Posted by flarn2006 on Stack Overflow See other posts from Stack Overflow or by flarn2006
Published on 2010-06-14T23:29:31Z Indexed on 2010/06/14 23:32 UTC
Read the original article Hit count: 240

Filed under:
|
|
|
|

Okay, so I'm getting these warnings whenever I try to use stdscr in pdcurses:

LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4049: locally defined symbol "_stdscr" imported
LINK : warning LNK4049: locally defined symbol "_SP" imported

How do I fix this? They're just warnings, but when I run my program, it crashes, so they probably have something to do with it. Especially considering the fact that the line it crashes at is the one that uses stdscr...

© Stack Overflow or respective owner

Related posts about c++

Related posts about warnings