Forum
    • Categories
    • Register
    • Login

    String literal issue when compiling latest develop?

    Scheduled Pinned Locked Moved General Questions
    1 Posts 1 Posters 21 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.
    • OrvillainO
      Orvillain
      last edited by

      There seems to be a string literal length issue with the latest develop branch, on Windows. It compiled fine on MacOS.
      The commit sha: 65e2477aca6ee72065ca93b63e7c2fcbe2a3175f

      Severity	Code	Description	Project	File	Line	Suppression State	Details
      Warning	C4101	'unused': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_scripting\scripting\engine\JavascriptApiClass.h	754		
      **Error	C2026	string too big, trailing characters truncated	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\StandaloneProjectTemplate.cpp	279**		
      Warning	C4099	'hise::InteractionTestWindow': type name first seen using 'class' now seen using 'struct'	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\ai_tools\InteractionTester.h	31		
      Warning	C4189	'p': local variable is initialized but not referenced	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\ai_tools\RestHelpers.cpp	3316		
      Warning	C4063	case '65536' is not a valid value for switch of enum 'hise::RestServer::Method'	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\ai_tools\RestServer.cpp	409		
      Warning	C4063	case '65536' is not a valid value for switch of enum 'hise::RestServer::Method'	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\ai_tools\RestServer.cpp	487		
      Warning	C4189	'content': local variable is initialized but not referenced	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\ai_tools\RestServerUndoManager.cpp	270		
      Warning	C4189	'mc': local variable is initialized but not referenced	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\ai_tools\RestServerUndoManagerActions.cpp	382		
      Warning	C4101	'r': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_backend\backend\BackendProcessor.cpp	473		
      Warning	C4267	'return': conversion from 'size_t' to 'int', possible loss of data	HISE Standalone_App	H:\development\HISE\HISE\hi_core\hi_dsp\ProcessorMetadataRegistry.cpp	77		
      Warning	C4101	'mv': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_scripting\scripting\api\ScriptingApiContent.cpp	2364		
      Warning	C4101	'unused': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_scripting\scripting\engine\JavascriptApiClass.h	754		
      Warning	C4101	'unused': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_scripting\scripting\engine\JavascriptApiClass.h	754		
      Warning	C4101	'unused': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_scripting\scripting\engine\JavascriptApiClass.h	754		
      Warning	C4101	'unused': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_scripting\scripting\engine\JavascriptApiClass.h	754		
      Warning	C4101	'e': unreferenced local variable	HISE Standalone_App	H:\development\HISE\HISE\hi_scripting\scripting\scriptnode\api\ModulationSourceNode.cpp	97		
      
      

      The issue seems to be with:
      HISE\hi_backend\backend\StandaloneProjectTemplate.cpp

      This:

      </XCODE_MAC>
      

      Should be this:

      </XCODE_MAC>)" R"(
      

      @Christoph-Hart

      Musician - Instrument Designer - Sonic Architect - Creative Product Owner
      Crafting sound at every level. From strings to signal paths, samples to systems.

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

      19

      Online

      2.3k

      Users

      13.6k

      Topics

      118.3k

      Posts