Closed Mouli04 closed 1 year ago
You need to use C++17 or higher to compile DataFrame
now tried in visual studio 2022 with C++20 version but getting the below error while compiling with include file
Build started... 1>------ Build started: Project: WindowsProject1, Configuration: Debug x64 ------ 1>WindowsProject1.cpp 1>C:\Users\mouli\source\repos\WindowsProject1\WindowsProject1\include\DataFrame\Utils\FixedSizeString.h(87,11): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>C:\Users\mouli\source\repos\WindowsProject1\WindowsProject1\include\DataFrame\Utils\FixedSizeString.h(106,11): error C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>C:\Users\mouli\source\repos\WindowsProject1\WindowsProject1\include\DataFrame\Internals\DataFrame_standalone.tcc(645,11): error C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>Done building project "WindowsProject1.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
use this
To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
getting below shown error with DataFrame/Utils/Aggregenerator.h else everything seems to be working.
Build started... 1>------ Build started: Project: cppdataframes, Configuration: Debug x64 ------ 1>main.cpp 1>C:\Users\mouli\Documents\Projects\Cpp\cppdataframes\include\DataFrame\Utils\Aggregenerator.h(51,1): error C2610: 'hmdf::Aggregenerator<OP,Ts...> hmdf::Aggregenerator<OP,Ts...>::operator =(hmdf::Aggregenerator<OP,Ts...> &&)': is not a special member function or comparison operator which can be defaulted 1>C:\Users\mouli\Documents\Projects\Cpp\cppdataframes\include\DataFrame\Utils\Aggregenerator.h(51,1): message : the return type does not match the expected signature 1>C:\Users\mouli\Documents\Projects\Cpp\cppdataframes\include\DataFrame\Utils\Aggregenerator.h(66): message : see reference to class template instantiation 'hmdf::Aggregenerator<OP,Ts...>' being compiled 1>Done building project "cppdataframes.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
yeah, Aggregenerator class is not in use anywhere in this repo. I will remove it
closing the issue... Thank You...
iam unable to compile in CodeBlocks in windows 10 using mingw64 error in the image below.