Forum
    • Categories
    • Register
    • Login

    C++ Version Preprocessor?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 54 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • iamlampreyI
      iamlamprey
      last edited by iamlamprey

      Is there a preprocessor definition (in HISE settings) to set the C++ version for export?

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @iamlamprey
        last edited by

        @iamlamprey nope and everything will explode if you change this to anything other than C++17.

        iamlampreyI 1 Reply Last reply Reply Quote 3
        • iamlampreyI
          iamlamprey @Christoph Hart
          last edited by iamlamprey

          @Christoph-Hart said in C++ Version Preprocessor?:

          everything will explode

          I am yet to experience an explosion, RTNeural-NAM is using std::span and the Linux/Mac compilers are complaining unless I switch the AutoGeneratedProject.jucer to C++20

          C++17 works fine on Windows so I'm not even sure if the span is ever actually created

          Edit: Yep it's some weird ghost function which isn't being called anywhere, might be for a specific edge-case but I can comment it out and use C++17

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          28

          Online

          2.1k

          Users

          13.0k

          Topics

          112.9k

          Posts