Browse Source

HPCC-18695 Rename embeddedWarningsFatal option

Rename the option to disable the c++ being reported as errors to ensure
that problematic code is reviewed and fixed.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 7 years ago
parent
commit
0f9d8be77b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ecl/hqlcpp/hqlcpp.cpp

+ 1 - 1
ecl/hqlcpp/hqlcpp.cpp

@@ -1799,7 +1799,7 @@ void HqlCppTranslator::cacheOptions()
         DebugOption(options.optimizeSortAllFieldsStrict,"optimizeSortAllFieldsStrict",false),
         DebugOption(options.alwaysReuseGlobalSpills,"alwaysReuseGlobalSpills",true),
         DebugOption(options.forceAllDatasetsParallel,"forceAllDatasetsParallel",false),  // Purely for regression testing.
-        DebugOption(options.embeddedWarningsAsErrors,"embeddedWarningsFatal",true),
+        DebugOption(options.embeddedWarningsAsErrors,"embeddedWarningsAreFatal",true),
         DebugOption(options.optimizeCriticalFunctions,"optimizeCriticalFunctions",true),
         DebugOption(options.addLikelihoodToGraph,"addLikelihoodToGraph", true),
         DebugOption(options.varFieldAccessorThreshold,"varFieldAccessorThreshold",3),   // Generate accessor classes for rows with #variable width fields >= threshold