none
How to remove "warning LNK4099" in Windows Embedded Compact 7 Builds RRS feed

  • Question

  • Hi,

    Do folks here know any means to easily remove all the compiler warning that WEC 7 have on a lot public files?

    In my build, I see a lot of LNK4099 warning related to PUBLIC libraries of WEC 7, like below.

    coredllhs_ALL.lib(sorting.obj) : warning LNK4099: PDB 'sortinglib.pdb' was not found with
    coredllhs_ALL.lib(fscanf.obj) : warning LNK4099: PDB 'ccrtstio.pdb' was not found with
    coredllhs_ALL.lib(fputc.obj) : warning LNK4099: PDB 'ccrtstio.pdb' was not found with
    coredllhs_ALL.lib(fgetc.obj) : warning LNK4099: PDB 'ccrtstio.pdb' was not found with

    I would prefer the solution that does not involved changing some files in the PUBLIC folders in order to preserve Microsoft codes for updates and roll-backs. Thanks

    Friday, January 3, 2014 3:28 AM

All replies

  • Did you tried changing the warning level ?

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Friday, January 3, 2014 6:09 AM
  • AFAIK, this can't be suppressed by warning levels. you can play with C_DEBUG_INFO_FLAG=-Z7 in the sources file of the corresponding library to embed the debug info in the lib itself. but for your case all the warnings are listed in some public component and also you may not have source code for some of the component to build. for your case i don't have solution.

    Please mark as answer, if it is correct.
    Please vote,if it is helpful post.
    Vinoth.R

    http://vinoth-vinothblog.blogspot.com
    http://www.e-consystems.com/windowsce.asp

    Friday, January 3, 2014 11:07 AM
  • Thanks for the comments. I have the same doubt as Vinoth.

    I am hoping though that someone else here was able to suppress this via project/compiler flags that can be done on the OSDesign files only and does not involved going inside the public folder.

    Monday, January 6, 2014 6:22 AM
  • These warnings are harmless. May i know the reason to suppress this.

    Please mark as answer, if it is correct.
    Please vote,if it is helpful post.
    Vinoth.R

    http://vinoth-vinothblog.blogspot.com
    http://www.e-consystems.com/windowsce.asp

    Monday, January 6, 2014 6:42 AM