You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---=[ GC tests
Unreferenced allocs should not be marked
Tests run: 6
1>U:\GarbageCollection\DebugTest\gc.c(170,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(170,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(170,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(170,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(177,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(177,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(177,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(177,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(207,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(207,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(207,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(207,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(207,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 7 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(207,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(224,32): warning C4244: '=': conversion from 'double' to 'size_t', possible loss of data
1>U:\GarbageCollection\DebugTest\gc.c(264,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(264,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(281,13): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(281,13): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(293,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(293,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(354,9): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(354,9): message : consider using '%zu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(491,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(491,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(491,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(491,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(513,9): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(513,9): message : consider using '%zu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(517,13): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 6 has type '__int64'
1>U:\GarbageCollection\DebugTest\gc.c(517,13): message : consider using '%llu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(517,13): message : consider using '%Iu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(517,13): message : consider using '%I64u' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(526,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(526,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(580,17): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(580,17): message : consider using '%zu' in the format string
1>Generating Code...
1>DebugTest.vcxproj -> U:\GarbageCollection\x64\Debug\GarbageCollection.exe
1>Done building project "DebugTest.vcxproj".
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
The text was updated successfully, but these errors were encountered:
Hi @UnlimitedChild, thank you for raising this. As mentioned in the README, the project currently only supports gcc and clang builds, hence the error messages on VisualStudio.
Happy to take PRs from someone on windows to remove that limitation.
Hello,
---=[ GC tests
Unreferenced allocs should not be marked
Tests run: 6
1>U:\GarbageCollection\DebugTest\gc.c(170,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(170,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(170,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(170,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(177,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(177,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(177,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(177,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(207,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(207,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(207,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(207,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(207,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 7 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(207,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(224,32): warning C4244: '=': conversion from 'double' to 'size_t', possible loss of data
1>U:\GarbageCollection\DebugTest\gc.c(264,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(264,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(281,13): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(281,13): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(293,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(293,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(354,9): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(354,9): message : consider using '%zu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(491,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 5 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(491,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(491,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(491,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(513,9): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(513,9): message : consider using '%zu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(517,13): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 6 has type '__int64'
1>U:\GarbageCollection\DebugTest\gc.c(517,13): message : consider using '%llu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(517,13): message : consider using '%Iu' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(517,13): message : consider using '%I64u' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(526,5): warning C4477: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(526,5): message : consider using '%zd' in the format string
1>U:\GarbageCollection\DebugTest\gc.c(580,17): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 6 has type 'size_t'
1>U:\GarbageCollection\DebugTest\gc.c(580,17): message : consider using '%zu' in the format string
1>Generating Code...
1>DebugTest.vcxproj -> U:\GarbageCollection\x64\Debug\GarbageCollection.exe
1>Done building project "DebugTest.vcxproj".
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
The text was updated successfully, but these errors were encountered: