Support Board
Date/Time: Mon, 10 Mar 2025 17:19:01 +0000
Post From: Visual Studio C++ vs MingW
[2017-10-25 06:47:38] |
ganz - Posts: 1048 |
SC Support i686-w64-mingw32-g++ -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 -fpermissive -Wno-deprecated -c D:\devel\sc\sot4.cpp In file included from C:/Users/ganz/Apps/SierraChart/ACS_Source/scstructures.h:82:0, from C:/Users/ganz/Apps/SierraChart/ACS_Source/sierrachart.h:15, from D:\devel\sc\sot4.cpp:1: C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h: In member function 'void c_VAPContainerBase<t_VolumeAtPrice>::Swap(c_VAPContainerBase<t_VolumeAtPrice>&)': C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h:453:2: warning: there are no arguments to 'swap' that depend on a template parameter, so a declaration of 'swap' must be available [-fpermissive] swap(m_NumElementsAllocated, r_That.m_NumElementsAllocated); ^~~~ C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h:454:2: warning: there are no arguments to 'swap' that depend on a template parameter, so a declaration of 'swap' must be available [-fpermissive] swap(m_NumElementsUsed, r_That.m_NumElementsUsed); ^~~~ C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h:456:2: warning: there are no arguments to 'swap' that depend on a template parameter, so a declaration of 'swap' must be available [-fpermissive] swap ^~~~ C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h:460:2: warning: there are no arguments to 'swap' that depend on a template parameter, so a declaration of 'swap' must be available [-fpermissive] swap(m_NumBarsAllocated, r_That.m_NumBarsAllocated); ^~~~ C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h:461:2: warning: there are no arguments to 'swap' that depend on a template parameter, so a declaration of 'swap' must be available [-fpermissive] swap(m_NumberOfBars, r_That.m_NumberOfBars); ^~~~ C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h:463:2: warning: there are no arguments to 'swap' that depend on a template parameter, so a declaration of 'swap' must be available [-fpermissive] swap(m_LastSortedBarIndex, r_That.m_LastSortedBarIndex); ^~~~ C:/Users/ganz/Apps/SierraChart/ACS_Source/VAPContainer.h:464:2: warning: there are no arguments to 'swap' that depend on a template parameter, so a declaration of 'swap' must be available [-fpermissive] swap(m_LastSortedBarSize, r_That.m_LastSortedBarSize); ^~~~ All done. what do you think? *.dll works fine but it has the huge size ~1M vs 72k on ms vc++ Thnx. |