Support Board
Date/Time: Fri, 10 Jan 2025 13:46:50 +0000
Post From: Compilier error
[2016-09-03 20:56:31] |
Sierra Chart Engineering - Posts: 104368 |
There is nothing for us to fix! The Microsoft Visual C++ is a very good optimizing compiler and only gives you warnings and errors which are correct and you need to solve. You need to correct the errors and warnings in your own code. A function that has a return type other than void must return a value. It is that simple. Warnings like this can be solved with a typecast: C:\SierraChart\ACS_Source\AutoTradeSignalV6DOE.cpp(2759): warning C4244: '=': conversion from 'int' to 'float', possible loss of data Refer to: http://www.cplusplus.com/doc/tutorial/typecasting/ Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2016-09-03 20:57:00
|