Support Board
Date/Time: Wed, 22 Jan 2025 12:50:51 +0000
Post From: Compile Error in V1806
[2018-09-18 20:46:00] |
ertrader - Posts: 681 |
Use std::max() instead of just max().
This change gave the following errorWe will resolve the issue.
Will appreciate it----------------------------- The remote build did not succeed. Result: In file included from sierrachart.h:15:0, from AutoTradeSignalV9bHLMR.cpp:1: AutoTradeSignalV9bHLMR.cpp: In function 'void scsf_AutoTradeSignalV9bHLMR(SCStudyInterfaceRef)': scstructures.h:70:29: error: expected unqualified-id before '(' token #define max(a,b) (((a) > (b)) ? (a) : (b)) ^ AutoTradeSignalV9bHLMR.cpp:1419:34: note: in expansion of macro 'max' r_FirstIndexIncluded = std::max(0, Index - TimePeriodLength.GetInt()+1); ^ -- End of Build -- 16:41:37 Date Time Of Last Edit: 2018-09-18 20:57:20
|