ulfben

errors

Dec 17th, 2020 (edited)
574
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Build started...
  2. 1>------ Build started: Project: CustomString, Configuration: Debug x64 ------
  3. 1>CustomString.cpp
  4. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(48,48): error C2556: 'unsigned int CustomString::string::GetSize(void) noexcept const': overloaded function differs only by return type from 'size_t CustomString::string::GetSize(void) noexcept const'
  5. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.h(31): message : see declaration of 'CustomString::string::GetSize'
  6. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(48,23): error C2371: 'CustomString::string::GetSize': redefinition; different basic types
  7. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.h(31): message : see declaration of 'CustomString::string::GetSize'
  8. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(118,7): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
  9. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(136,3): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
  10. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(292,48): error C2660: 'CustomString::string::SetCase': function does not take 2 arguments
  11. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(162,15): message : see declaration of 'CustomString::string::SetCase'
  12. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(293,48): error C2660: 'CustomString::string::SetCase': function does not take 2 arguments
  13. 1>D:\Temp\grading\guy\CustomString\CustomString\CustomString.cpp(162,15): message : see declaration of 'CustomString::string::SetCase'
  14. 1>Done building project "CustomString.vcxproj" -- FAILED.
  15. 2>------ Build started: Project: String-Test1, Configuration: Debug x64 ------
  16. 2>pch.cpp
  17. 2>test.cpp
  18. 2>D:\Temp\grading\guy\string test\String-Test1\test.cpp(45,5): warning C4002: too many arguments for function-like macro invocation 'EXPECT_EQ'
  19. 2>LINK : fatal error LNK1104: cannot open file 'D:\Temp\grading\guy\string test\x64\Debug\CustomString.lib'
  20. 2>Done building project "String-Test1.vcxproj" -- FAILED.
  21. ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
RAW Paste Data