locked
linking across different /arch RRS feed

  • Question

  • Hi,

    I was curious if there was a way /switch by which linking across different /arch values can be disabled or have a warning be printed. Since this can cause crashes when a newer instruction is run on an older CPU and is detected late in the game for large projects using different libraries.

    We have a project which has /arch:IA32 but it links with a library with the default SSE2 and this crashes in field.

    Thanks,


    SS

    • Moved by May Luo-MSFT Friday, December 14, 2018 5:48 AM its not a VS iDE issue
    Friday, December 14, 2018 1:58 AM

Answers

All replies

  • Hi sdeep,

    Welcome to the MSDN forum.

    Since our forum is mainly discussing with VS IDE. As you said, you want to know if there was a way /switch by which linking across different /arch values can be disabled or have a warning be printed. This question has no more knowledge here that could help you. So I will help you to move it to Where is the Forum for…? Forum, there is someone who can help you to redirect it to an appropriate forum for a more professional supporting!

    Thank you for your understanding,

    Best Regards

    May


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Friday, December 14, 2018 5:47 AM
  • Hello,

    according to this: https://docs.microsoft.com/en-us/cpp/build/reference/arch-x86?view=vs-2017

    it seems to be a C++ Project.

    Then you could ask here: https://social.msdn.microsoft.com/Forums/en-US/home?forum=vcgeneral

    Or ask in the appropiate forum for your programming language.

    Regards, Guido

    Friday, December 14, 2018 6:47 AM