• Mananasi
    link
    fedilink
    arrow-up
    11
    ·
    2 months ago

    Sometimes you can’t get around it though.

    • riodoro1@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      2 months ago

      Afaik MSVC forbids it and it’s one of the very few nice things about c++ on windows.

      If you need to write assembly don’t fucking do it in a cpp file. Create a header, an assembly file, assemble it and link to it.