Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4014

[C++] Fix "LIBCMT" warnings on MSVC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • C++
    • None

    Description

      These warnings have been present for a while, and they are a nuisance

      "C:\Users\wesm\code\arrow\cpp\build\INSTALL.vcxproj" (default target) (1) ->
      "C:\Users\wesm\code\arrow\cpp\build\ALL_BUILD.vcxproj" (default target) (3) ->
      "C:\Users\wesm\code\arrow\cpp\build\src\arrow\arrow-allocator-test.vcxproj" (default target) (4) ->
      "C:\Users\wesm\code\arrow\cpp\build\src\arrow\arrow_shared.vcxproj" (default target) (5) ->
      (Link target) ->
        LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\Users\wesm\code\arrow\cpp\build\src\arrow\arrow_shared.vcxproj]
      
      
      "C:\Users\wesm\code\arrow\cpp\build\INSTALL.vcxproj" (default target) (1) ->
      "C:\Users\wesm\code\arrow\cpp\build\ALL_BUILD.vcxproj" (default target) (3) ->
      "C:\Users\wesm\code\arrow\cpp\build\src\parquet\parquet-file-deserialize-test.vcxproj" (default target) (70) ->
        MSVCRT.lib(initializers.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\Users\wesm\code\arrow\cpp\build\src\parquet\parquet-file-deserialize-test.vcxproj]
      
      
      "C:\Users\wesm\code\arrow\cpp\build\INSTALL.vcxproj" (default target) (1) ->
      "C:\Users\wesm\code\arrow\cpp\build\ALL_BUILD.vcxproj" (default target) (3) ->
      "C:\Users\wesm\code\arrow\cpp\build\src\parquet\parquet-schema-test.vcxproj" (default target) (78) ->
        MSVCRT.lib(initializers.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\Users\wesm\code\arrow\cpp\build\src\parquet\parquet-schema-test.vcxproj]
      
          3 Warning(s)
      

      Attachments

        Activity

          People

            wesm Wes McKinney
            wesm Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: