*Fully operational code is here* https://github.com/plolcott/x86utm/blob/master/Halt7.c
On 10/14/2024 4:14 PM, tTh wrote:
On 10/14/24 04:57, olcott wrote:
*Fully operational code is here*
https://github.com/plolcott/x86utm/blob/master/Halt7.c
�� This program does not compile, so it cannot be executed.
�� Halting problem solved.
Shit happens. A lot of things. I cannot get it to compile at all. MSVC, GCC, whatever...
main.c: In function �Decide_Halting0�:
main.c:239:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
� 239 |���� PushBack(*execution_trace, (u32)*decoded, sizeof(Decoded_Line_Of_Code));
����� |������������������������������� ^
On 10/14/2024 5:36 PM, Mike Terry wrote:
On 15/10/2024 00:33, Chris M. Thomasson wrote:
On 10/14/2024 4:14 PM, tTh wrote:
On 10/14/24 04:57, olcott wrote:
*Fully operational code is here*
https://github.com/plolcott/x86utm/blob/master/Halt7.c
�� This program does not compile, so it cannot be executed.
�� Halting problem solved.
Shit happens. A lot of things. I cannot get it to compile at all. MSVC, GCC, whatever...
main.c: In function �Decide_Halting0�:
main.c:239:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
�� 239 |���� PushBack(*execution_trace, (u32)*decoded, sizeof(Decoded_Line_Of_Code));
������ |������������������������������� ^
You're trying to compile it as 64 bit code.� PO's x86utm.exe expects 32- bit.
Ahhhh.... Let me try again for x86 in MSVC. Well:
_______________________
Severity��� Code��� Description��� Project��� File��� Line��� Suppression State��� Details
Error (active)��� E0140��� too many arguments in function call ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1177 Error (active)��� E0140��� too many arguments in function call ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1239 Error (active)��� E0140��� too many arguments in function call ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1320 Error (active)��� E0167��� argument of type "void (*)(u32 N)" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1262 Error (active)��� E0167��� argument of type "ptr2" (aka "int (*)()") is incompatible with parameter
of type "ptr" (aka "void (*)()") ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1311 Error (active)��� E0167��� argument of type "ptr2" (aka "int (*)()") is incompatible with parameter
of type "ptr" (aka "void (*)()") ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1311 Error (active)��� E0167��� argument of type "int (*)(int (*M)())" is incompatible with parameter of
type "int (*)()"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1376 Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type "ptr"
(aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1230 Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type "ptr"
(aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1251 Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type "ptr"
(aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1302 Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type "ptr"
(aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1349 Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type "ptr"
(aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1349 Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type "ptr"
(aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1369 Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type "ptr"
(aka "void (*)()")��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1369 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 102 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 106 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 107 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 248 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 250 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 252 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1093 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1094 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1095 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1100 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1117 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1118 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1119 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1124 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1337 Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1376 Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [49]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 250 Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [48]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1100 Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [48]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1124 Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [44]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 248 Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [41]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 252 Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [25]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1337 Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [51]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1093 Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [50]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1117 Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [34]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 106 Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [34]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 107 Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [15]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1094 Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [14]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1118 Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [12]' to
'char *'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 102 Error��� C2664��� 'u32 H_prior(ptr,void *)': cannot convert argument 1 from 'void (__cdecl *)(u32)'
to 'ptr'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1262 Error��� C2664��� 'u32 H_prior(ptr,void *)': cannot convert argument 1 from 'int (__cdecl *)(void)'
to 'ptr'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1251 Error��� C2664��� 'u32 H_prior(ptr,void *)': cannot convert argument 1 from 'int (__cdecl *)(void)'
to 'ptr'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1302 Error��� C2664��� 'u32 H0(ptr)': cannot convert argument 1 from 'int (__cdecl *)(void)' to 'ptr'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1230
Error��� C2664��� 'u32 H(ptr,ptr)': cannot convert argument 1 from 'ptr2' to 'ptr'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1311
Error��� C2664��� 'u32 H(ptr,ptr)': cannot convert argument 1 from 'int (__cdecl *)(void)' to
'ptr'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1349 Error��� C2664��� 'u32 H(ptr,ptr)': cannot convert argument 1 from 'int (__cdecl *)(void)' to
'ptr'��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1369 Error��� C2664��� 'u32 Decide_Halting0(char *,u32 *,Decoded_Line_Of_Code **,u32,Registers
**,Registers **,u32 **,u32,u32)': cannot convert argument 1 from 'const char [5]' to 'char *'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1095
Error��� C2664��� 'u32 Decide_Halting0(char *,u32 *,Decoded_Line_Of_Code **,u32,Registers
**,Registers **,u32 **,u32,u32)': cannot convert argument 1 from 'const char [4]' to 'char *'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1119
Error��� C2197��� 'ptr': too many arguments for call��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1177 Error��� C2197��� 'ptr': too many arguments for call��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1239 Error��� C2197��� 'ptr': too many arguments for call��� ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1320 Error��� C2664��� 'int D(int (__cdecl *)(void))': cannot convert argument 1 from 'int (__cdecl
*)(int (__cdecl *)(void))' to 'int (__cdecl *)(void)' ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1376
_______________________
On 15/10/2024 04:57, Chris M. Thomasson wrote:
On 10/14/2024 5:36 PM, Mike Terry wrote:
On 15/10/2024 00:33, Chris M. Thomasson wrote:
On 10/14/2024 4:14 PM, tTh wrote:
On 10/14/24 04:57, olcott wrote:
*Fully operational code is here*
https://github.com/plolcott/x86utm/blob/master/Halt7.c
�� This program does not compile, so it cannot be executed.
�� Halting problem solved.
Shit happens. A lot of things. I cannot get it to compile at all. MSVC, GCC, whatever...
main.c: In function �Decide_Halting0�:
main.c:239:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
�� 239 |���� PushBack(*execution_trace, (u32)*decoded, sizeof(Decoded_Line_Of_Code));
������ |������������������������������� ^
You're trying to compile it as 64 bit code.� PO's x86utm.exe expects 32- bit.
Ahhhh.... Let me try again for x86 in MSVC. Well:
_______________________
Severity��� Code��� Description��� Project��� File��� Line��� Suppression State��� Details
Error (active)��� E0140��� too many arguments in function call ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1177
Error (active)��� E0140��� too many arguments in function call ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1239
Error (active)��� E0140��� too many arguments in function call ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1320
Error (active)��� E0167��� argument of type "void (*)(u32 N)" is incompatible with parameter of
type "ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1262
Error (active)��� E0167��� argument of type "ptr2" (aka "int (*)()") is incompatible with
parameter of type "ptr" (aka "void (*)()") ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1311
Error (active)��� E0167��� argument of type "ptr2" (aka "int (*)()") is incompatible with
parameter of type "ptr" (aka "void (*)()") ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1311
Error (active)��� E0167��� argument of type "int (*)(int (*M)())" is incompatible with parameter
of type "int (*)()"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1376
Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1230
Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1251
Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1302
Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1349
Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1349
Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1369
Error (active)��� E0167��� argument of type "int (*)()" is incompatible with parameter of type
"ptr" (aka "void (*)()")��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1369
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 102 >> Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 106 >> Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 107 >> Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 248 >> Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 250 >> Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 252 >> Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1093
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1094
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1095
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1100
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1117
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1118
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1119
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1124
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1337
Error (active)��� E0167��� argument of type "const char *" is incompatible with parameter of type
"char *"��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1376
Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [49]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 250 >> Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [48]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1100
Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [48]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1124
Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [44]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 248 >> Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [41]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 252 >> Error��� C2664��� 'void OutputString(char *)': cannot convert argument 1 from 'const char [25]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1337
Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [51]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1093
Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [50]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1117
Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [34]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 106 >> Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [34]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 107 >> Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [15]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1094
Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [14]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1118
Error��� C2664��� 'void Output(char *,u32)': cannot convert argument 1 from 'const char [12]' to
'char *'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 102 >> Error��� C2664��� 'u32 H_prior(ptr,void *)': cannot convert argument 1 from 'void (__cdecl
*)(u32)' to 'ptr'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1262
Error��� C2664��� 'u32 H_prior(ptr,void *)': cannot convert argument 1 from 'int (__cdecl
*)(void)' to 'ptr'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1251
Error��� C2664��� 'u32 H_prior(ptr,void *)': cannot convert argument 1 from 'int (__cdecl
*)(void)' to 'ptr'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1302
Error��� C2664��� 'u32 H0(ptr)': cannot convert argument 1 from 'int (__cdecl *)(void)' to 'ptr'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1230
Error��� C2664��� 'u32 H(ptr,ptr)': cannot convert argument 1 from 'ptr2' to 'ptr'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1311
Error��� C2664��� 'u32 H(ptr,ptr)': cannot convert argument 1 from 'int (__cdecl *)(void)' to
'ptr'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1349
Error��� C2664��� 'u32 H(ptr,ptr)': cannot convert argument 1 from 'int (__cdecl *)(void)' to
'ptr'��� ct_thread_playground
D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1369
Error��� C2664��� 'u32 Decide_Halting0(char *,u32 *,Decoded_Line_Of_Code **,u32,Registers
**,Registers **,u32 **,u32,u32)': cannot convert argument 1 from 'const char [5]' to 'char *'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1095
Error��� C2664��� 'u32 Decide_Halting0(char *,u32 *,Decoded_Line_Of_Code **,u32,Registers
**,Registers **,u32 **,u32,u32)': cannot convert argument 1 from 'const char [4]' to 'char *'
ct_thread_playground D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1119
Error��� C2197��� 'ptr': too many arguments for call��� ct_thread_playground >> D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1177
Error��� C2197��� 'ptr': too many arguments for call��� ct_thread_playground >> D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1239
Error��� C2197��� 'ptr': too many arguments for call��� ct_thread_playground >> D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1320
Error��� C2664��� 'int D(int (__cdecl *)(void))': cannot convert argument 1 from 'int (__cdecl
*)(int (__cdecl *)(void))' to 'int (__cdecl *)(void)' ct_thread_playground >> D:\ct_dev\projects\ct_thread_playground\ct_thread_playground\ct_main.cpp 1376
_______________________
You seem to be compiling the wrong program.� The source code is halt7.c and has nothing to do with
ct_threads.
Mike.
On 10/13/2024 7:57 PM, olcott wrote:
On 10/13/2024 11:34 AM, Kaz Kylheku wrote:[...]
On 2024-10-12, Chris M. Thomasson <[email protected]> wrote: >>>> On 10/12/2024 11:28 AM, Janis Papanagnou wrote:
On 12.10.2024 11:32, Jan van den Broek wrote:
2024-10-12, Chris M. Thomasson <[email protected]> schrieb: >>>>>>> On 10/11/2024 7:50 PM, olcott wrote:
[Schnipp]
As I see it, the main Halting Problem is Olcott not halting.
LOL! - A very nice one. Thanks for that. :-)
I second that. :^)
You're likely thousand-seconding that. The Olcott not halting joke
is many years old now, and will likely come up again.
My cancer has gotten worse.
*ChatGPT explains why rebuttals of my work are incorrect*
https://chatgpt.com/share/6709e046-4794-8011-98b7-27066fb49f3e
I had to dumb this down from the original halting problem
input so that reviewers can verify that HHH is correct
without hardly paying any attention at all:
void DDD()
{
�� HHH(DDD);
�� return;
}
When HHH is an x86 emulation based termination analyzer
then each DDD emulated by any HHH that it calls never returns.
Isn't that similar to:
void foobar()
{
��� foobar();
}
? >
On 10/15/2024 9:06 AM, Mike Terry wrote:
[...]
_______________________
You seem to be compiling the wrong program.� The source code is halt7.c and has nothing to do with
ct_threads.
Shit happens Mike, sorry about that. Anyway, it compiles with C for x86:
https://i.ibb.co/1bKYQMv/image.png
but crashes during a run:
https://i.ibb.co/T0f1Wjg/image.png
The call stack for the error is:
�� ct_thread_playground.exe!Init_Halts_HH(unsigned int * * Aborted, unsigned int * *execution_trace, Decoded * * decoded, unsigned int * code_end, unsigned int P, x86_Registers * *
master_state, x86_Registers * * slave_state, unsigned int * * slave_stack) Line 544��� C
���� ct_thread_playground.exe!H(void(*)() P, void(*)() I) Line 701��� C
���� ct_thread_playground.exe!D(int(*)() M) Line 1369��� C
���� ct_thread_playground.exe!main(...) Line 1376��� C
���� ct_thread_playground.exe!invoke_main() Line 78��� C++
���� ct_thread_playground.exe!__scrt_common_main_seh() Line 288��� C++
���� ct_thread_playground.exe!__scrt_common_main() Line 331��� C++
���� ct_thread_playground.exe!mainCRTStartup(void * __formal) Line 17��� C++
���� kernel32.dll!74d17ba9()��� Unknown
���� [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
���� ntdll.dll!76fdc0cb()��� Unknown
���� ntdll.dll!76fdc04f()��� Unknown
On 10/15/2024 6:43 PM, Mike Terry wrote:
On 14/10/2024 23:17, Chris M. Thomasson wrote:
On 10/13/2024 7:57 PM, olcott wrote:
On 10/13/2024 11:34 AM, Kaz Kylheku wrote:[...]
On 2024-10-12, Chris M. Thomasson <[email protected]> wrote: >>>>>> On 10/12/2024 11:28 AM, Janis Papanagnou wrote:
On 12.10.2024 11:32, Jan van den Broek wrote:
2024-10-12, Chris M. Thomasson <[email protected]> schrieb:
On 10/11/2024 7:50 PM, olcott wrote:
[Schnipp]
As I see it, the main Halting Problem is Olcott not halting.
LOL! - A very nice one. Thanks for that. :-)
I second that. :^)
You're likely thousand-seconding that. The Olcott not halting joke
is many years old now, and will likely come up again.
My cancer has gotten worse.
*ChatGPT explains why rebuttals of my work are incorrect*
https://chatgpt.com/share/6709e046-4794-8011-98b7-27066fb49f3e
I had to dumb this down from the original halting problem
input so that reviewers can verify that HHH is correct
without hardly paying any attention at all:
void DDD()
{
�� HHH(DDD);
�� return;
}
When HHH is an x86 emulation based termination analyzer
then each DDD emulated by any HHH that it calls never returns.
Isn't that similar to:
void foobar()
{
���� foobar();
}
? >
Similar, but different because HHH only performs a /partial/ step by step emulation of DDD - it
stops emulating after a while and returns, so DDD() halts.� foobar() will never halt (ignoring
physical resource constraints like running out of stack).� foobar() undergoes infinite recursive
call.� DDD() exhibits /finite/ recursive emulation, then halts.
So, any similar to:
______________
void foo(
��� unsigned long ri,
��� unsigned long rn
) {
��� if (ri > rn) return;
��� foo(ri + 1, rn);
}
______________
foo(0, 5);
?
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 714 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 141:15:09 |
| Calls: | 12,087 |
| Files: | 14,998 |
| Messages: | 6,517,442 |