OK.
Build started on: 04-01-2025 at 14:41.17
Build ended on: 04-01-2025 at 14:41.24
-------------- Build: Debug PELLES C in GLaux (compiler: Pelles C (32b))---------------
cmd /c pocc | grep Version
Pelles ISO C Compiler, Version 12.00.1
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\FONT.C /FoobjPELLESC32\Debug\src\FONT.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\GLAUX.C /FoobjPELLESC32\Debug\src\GLAUX.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\IMAGE.C /FoobjPELLESC32\Debug\src\IMAGE.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\SHAPES.C /FoobjPELLESC32\Debug\src\SHAPES.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TEAPOT.C /FoobjPELLESC32\Debug\src\TEAPOT.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TK.C /FoobjPELLESC32\Debug\src\TK.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKDIB.C /FoobjPELLESC32\Debug\src\TKDIB.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKFONT.C /FoobjPELLESC32\Debug\src\TKFONT.obj
src\SHAPES.C(598): warning #2229: Local 'x2' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x1' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x0' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(645): warning #2117: Old-style function definition for 'initdodec'.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TKDIB.C(410): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(345): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(302): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
src\TK.C(580): warning #2241: The function 'GetVersionExA' is marked as deprecated.
src\TK.C(1659): warning #2215: Conversion from 'int' to 'unsigned char'; possible loss of data or unexpected result.
src\TK.C(1826): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1825): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1965): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2015): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2044): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2045): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2046): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2049): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2442): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
src\TK.C(2441): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
src\TKFONT.C(13655): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13651): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13648): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13644): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13643): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13684): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13680): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13677): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13673): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13672): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13713): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13709): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13706): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13702): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13701): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
0 e
Thierry
Hi Miguel,
Yes, I investigate about this proposition. First all these directories exist .. really. I use same "stucture" with all others compilers used (I have a "standard" script to generate it).
To verify, I change all rigths in these directories to authorize full acces (.ie. "control total") to group "authentified users" and rigth "Change" to group "users" joined to my computer.
And, also to attribute same rigths of all sources (*.h, *.c) of my project to be sure ... (stored in directory "src", this lead "automatic" creation of the same "name" of subdirectory under objPELLESC32\Debug and objPELLESC32\Release if don't exist to store *.obj during compilation into CB).
And in subdirectory objPELLESC32\Debug\src, I find this list of *.obj :
07/01/2025 14:31 2 564 FONT.obj
07/01/2025 14:31 18 439 GLAUX.obj
07/01/2025 14:31 2 166 IMAGE.obj
07/01/2025 14:31 27 068 SHAPES.obj
07/01/2025 14:31 10 249 TEAPOT.obj
07/01/2025 14:31 49 482 TK.obj
07/01/2025 14:31 8 756 TKDIB.obj
07/01/2025 14:31 982 523 TKFONT.obj
But, I have eleven sources *.c to compile in this project, only eigth OBJ ...
And generation failed too :
-------------- Clean: Release PELLES C in GLaux (compiler: Pelles C (32b))---------------
Cleaned "GLaux - Release PELLES C"
-------------- Build: Release PELLES C in GLaux (compiler: Pelles C (32b))---------------
Running target pre-build steps
cmd /c pocc | grep Version
Pelles ISO C Compiler, Version 12.00.1
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\FONT.C /FoobjPELLESC32\Release\src\FONT.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\GLAUX.C /FoobjPELLESC32\Release\src\GLAUX.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\IMAGE.C /FoobjPELLESC32\Release\src\IMAGE.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\SHAPES.C /FoobjPELLESC32\Release\src\SHAPES.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TEAPOT.C /FoobjPELLESC32\Release\src\TEAPOT.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TK.C /FoobjPELLESC32\Release\src\TK.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKDIB.C /FoobjPELLESC32\Release\src\TKDIB.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKFONT.C /FoobjPELLESC32\Release\src\TKFONT.obj
src\SHAPES.C(598): warning #2229: Local 'x2' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x1' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x0' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(645): warning #2117: Old-style function definition for 'initdodec'.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
Process terminated with status -1073741819 (0 minute(s), 0 second(s))
src\TKDIB.C(410): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(345): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(302): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 0 second(s))
src\TK.C(580): warning #2241: The function 'GetVersionExA' is marked as deprecated.
src\TK.C(1659): warning #2215: Conversion from 'int' to 'unsigned char'; possible loss of data or unexpected result.
src\TK.C(1826): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1825): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1965): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2015): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2044): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2045): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2046): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2049): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2442): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
src\TK.C(2441): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
src\TKFONT.C(13655): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13651): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13648): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13644): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13643): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13684): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13680): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13677): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13673): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13672): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13713): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13709): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13706): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13702): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13701): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
0 error(s), 40 warning(s) (0 minute(s), 6 second(s))
Build log saved as:
file://C:/src/OpenGL/Glaux/GLaux_build_log.html
Just to verify, I try to run and finish generation of OBJ in command console, and the result is good :
C:\src\OpenGL\Glaux>pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKIMAGE.C /FoobjPELLESC32\Release\src\TKIMAGE.obj
C:\src\OpenGL\Glaux>pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\VECT3D.C /FoobjPELLESC32\Release\src\VECT3D.obj
C:\src\OpenGL\Glaux>pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\XFORM.C /FoobjPELLESC32\Release\src\XFORM.obj
Thank's to proposition, it's a good track, but unresolve behaviour ..;
Bye.
I suggest building without clean a few times in a row.
Edit: If the files that failed to build start building; I would look at an system anti-virus related issue.
I get the below on the second build.
-------------- Build: Release PELLES C in GLaux (compiler: pelles_c_32b)---------------
Target is up to date.
Nothing to be done (all items are up-to-date).
My setup info; I skipped the parts that were not needed to get the project to build (The resource compiler search paths for one.)
And, I changed a few things.
My CB Version info: svn-r13596
OS Info: Windows 10
I edited the project pre steps because I did not have grep in the path.
My Tool chain setting
I deleted all additional paths; and I copied MSVC 2017 because I had *no* 2020 to copy.
Build log; I see no real difference; but, I have felt tired for about 10 days now. Maybe someone else or you will see the difference
-------------- Clean: Release PELLES C in GLaux (compiler: pelles_c_32b)---------------
Cleaned "GLaux - Release PELLES C"
-------------- Build: Release PELLES C in GLaux (compiler: pelles_c_32b)---------------
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\FONT.C /FoobjPELLESC32\Release\src\FONT.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\GLAUX.C /FoobjPELLESC32\Release\src\GLAUX.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\IMAGE.C /FoobjPELLESC32\Release\src\IMAGE.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\SHAPES.C /FoobjPELLESC32\Release\src\SHAPES.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\TEAPOT.C /FoobjPELLESC32\Release\src\TEAPOT.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\TK.C /FoobjPELLESC32\Release\src\TK.obj
src\SHAPES.C(598): warning #2229: Local 'x2' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x1' is potentially used without being initialized (or using a dangling value).
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\TKDIB.C /FoobjPELLESC32\Release\src\TKDIB.obj
src\SHAPES.C(598): warning #2229: Local 'x0' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(645): warning #2117: Old-style function definition for 'initdodec'.
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\TKFONT.C /FoobjPELLESC32\Release\src\TKFONT.obj
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TKDIB.C(410): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(345): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(302): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\TKIMAGE.C /FoobjPELLESC32\Release\src\TKIMAGE.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\VECT3D.C /FoobjPELLESC32\Release\src\VECT3D.obj
pocc.exe /nologo -Tx86-coff /Ze /c /DNDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\\include\Win /IC:\PellesC\\include /c src\XFORM.C /FoobjPELLESC32\Release\src\XFORM.obj
polink.exe /dll /nologo /LIBPATH:C:\PellesC\\lib\Win /LIBPATH:C:\PellesC\\lib /out:binPELLESC32\Release\GLaux.dll glu32.lib opengl32.lib advapi32.lib comdlg32.lib winmm.lib shell32.lib user32.lib kernel32.lib gdi32.lib objPELLESC32\Release\src\FONT.obj objPELLESC32\Release\src\GLAUX.obj objPELLESC32\Release\src\IMAGE.obj objPELLESC32\Release\src\SHAPES.obj objPELLESC32\Release\src\TEAPOT.obj objPELLESC32\Release\src\TK.obj objPELLESC32\Release\src\TKDIB.obj objPELLESC32\Release\src\TKFONT.obj objPELLESC32\Release\src\TKIMAGE.obj objPELLESC32\Release\src\VECT3D.obj objPELLESC32\Release\src\XFORM.obj /MACHINE:X86 /SUBSYSTEM:WINDOWS /MACHINE:X86
src\TK.C(580): warning #2241: The function 'GetVersionExA' is marked as deprecated.
src\TK.C(1659): warning #2215: Conversion from 'int' to 'unsigned char'; possible loss of data or unexpected result.
src\TK.C(1826): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1825): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1965): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2015): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2044): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2045): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2046): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2049): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2442): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
src\TK.C(2441): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
src\TKFONT.C(13655): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13651): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13648): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13644): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13643): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13684): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13680): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13677): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13673): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13672): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13713): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13709): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13706): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13702): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13701): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
Creating object: binPELLESC32\Release\GLaux.exp
Creating library: binPELLESC32\Release\GLaux.lib
Output file is binPELLESC32\Release\GLaux.dll with size 1.02 MB
Process terminated with status 0 (0 minute(s), 3 second(s))
0 error(s), 40 warning(s) (0 minute(s), 3 second(s))
And to finally close this "topic" ...
I try today on my second PC (almost clone of my laptop, but hardware not "up to date" after thirteen years "de bons et loyaux services" 'in french !!! , about CB and all compilers C/C++ installed too).
I clone my repository GitHub GLAUX on this, and I use CB (svn-r13598 on W11 64 bits) to generate DLL with PellesC.
At the beginning, most ajustements, to succeed :
- no policy defined by default with compiler + linker : add policy "Append target options to project option" ... many times,
- mandatory add option "/Ze" when use include file "windows.h" (in subtab "Others compilers options") (this option not available in "standard" option of compiler Pelles C because it's a clone of MSVC that don't use this).
At the end, result of generation succeed ... finally.
-------------- Clean: Release PELLES C 64 in GLaux (compiler: Pelles C X64)---------------
Cleaned "GLaux - Release PELLES C 64"
-------------- Build: Release PELLES C 64 in GLaux (compiler: Pelles C X64)---------------
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\FONT.C /FoobjPELLESC64\Release\src\FONT.obj
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\GLAUX.C /FoobjPELLESC64\Release\src\GLAUX.obj
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\IMAGE.C /FoobjPELLESC64\Release\src\IMAGE.obj
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\SHAPES.C /FoobjPELLESC64\Release\src\SHAPES.obj
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TEAPOT.C /FoobjPELLESC64\Release\src\TEAPOT.obj
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TK.C /FoobjPELLESC64\Release\src\TK.obj
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKDIB.C /FoobjPELLESC64\Release\src\TKDIB.obj
src\SHAPES.C(598): warning #2229: Local 'x2' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x1' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x0' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(645): warning #2117: Old-style function definition for 'initdodec'.
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKFONT.C /FoobjPELLESC64\Release\src\TKFONT.obj
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKIMAGE.C /FoobjPELLESC64\Release\src\TKIMAGE.obj
src\TKDIB.C(410): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(345): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(302): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\VECT3D.C /FoobjPELLESC64\Release\src\VECT3D.obj
src\TKIMAGE.C(134): warning #2215: Conversion from 'unsigned long long int' to 'int'; possible loss of data or unexpected result.
pocc.exe /nologo /Ze /DBUILD_DLL -Tx64-coff /D_AMD64_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\XFORM.C /FoobjPELLESC64\Release\src\XFORM.obj
polink.exe /dll /nologo /LIBPATH:C:\PellesC\lib\Win64 /LIBPATH:C:\PellesC\lib /out:binPELLESC64\Release\Glaux.dll glu32.lib opengl32.lib gdi32.lib winmm.lib advapi32.lib user32.lib kernel32.lib objPELLESC64\Release\src\FONT.obj objPELLESC64\Release\src\GLAUX.obj objPELLESC64\Release\src\IMAGE.obj objPELLESC64\Release\src\SHAPES.obj objPELLESC64\Release\src\TEAPOT.obj objPELLESC64\Release\src\TK.obj objPELLESC64\Release\src\TKDIB.obj objPELLESC64\Release\src\TKFONT.obj objPELLESC64\Release\src\TKIMAGE.obj objPELLESC64\Release\src\VECT3D.obj objPELLESC64\Release\src\XFORM.obj /MACHINE:X64
src\TK.C(580): warning #2241: The function 'GetVersionExA' is marked as deprecated.
src\TK.C(1354): warning #2215: Conversion from 'long long int' to 'long int'; possible loss of data or unexpected result.
src\TK.C(1659): warning #2215: Conversion from 'int' to 'unsigned char'; possible loss of data or unexpected result.
src\TK.C(1826): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1825): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1965): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2015): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2044): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2045): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2046): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2049): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2442): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
src\TK.C(2441): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
src\TKFONT.C(13655): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13651): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13648): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13644): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13643): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13684): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13680): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13677): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13673): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13672): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13713): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13709): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13706): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13702): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13701): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
Creating object: binPELLESC64\Release\Glaux.exp
Creating library: binPELLESC64\Release\Glaux.lib
Output file is binPELLESC64\Release\Glaux.dll with size 1.04 MB
Process terminated with status 0 (0 minute(s), 3 second(s))
0 error(s), 42 warning(s) (0 minute(s), 3 second(s))
Build log saved as:
file://C:/Users/Thierry/Documents/Glaux/GLaux_build_log.html
Conclusion : initial problem with Pelles C exist only on my laptop.
Sorry, I had must tested before on my fix PC before to open tyhis topic.
Thank you ... for your time.
Regards.
Thierry.
Hi,
After many researchs, conclusion is : bug identified into Pelles C Compiler on ... Windows 11 24H2 64 bit (last version) .... not into CB ...
Acces to "new" NTDLL with executable "pocc" provoke crash and minidump ...
Simple test below into command console :
My precedent test has been :
pocc | grep Version
echo %ERRORLEVEL%
0
Stupid, no ?
Sorry for time spent and thank's for your attention. You can close this "irrelevant" topic definitively.
Thierry.