This commit is contained in:
2025-05-28 01:11:38 -04:00
parent efb4d256f4
commit 06bc224a83
3 changed files with 891 additions and 293 deletions

File diff suppressed because it is too large Load Diff

32
C/watl.v1.msvc.c Normal file
View File

@@ -0,0 +1,32 @@
/*
WATL Exercise
Version: 1 (From Scratch, 2-Stage Compilation)
Vendor OS & Compiler: Windows 11, MSVC
*/
#if GEN_TIME == 1
#include "gencpp_c11.h"
int gen_main()
{
}
//#if GEN_TIME == 1
#endif
#if GEN_TIME == 0
#pragma region Header
#pragma endregion Header
#pragma region Implementation
#pragma endregion Implementation
int main()
{
}
//#if defined(GEN_TIME) == 0
#endif

View File

@@ -53,6 +53,7 @@ $flag_path_interm = '/Fo'
$flag_path_debug = '/Fd'
$flag_path_output = '/Fe'
$flag_preprocess_conform = '/Zc:preprocessor'
$flag_sanitize_address = '/fsanitize=address'
$flag_updated_cpp_macro = "/Zc:__cplusplus"
$flag_set_stack_size = '/F'
$flag_syntax_only = '/Zs'
@@ -81,6 +82,7 @@ $compiler_args += $flag_c11
$compiler_args += $flag_exceptions_disabled
$compiler_args += $flag_RTTI_disabled
$compiler_args += $flag_preprocess_conform
$compiler_args += $flag_sanitize_address
# Set charset encoding for both execution and source to UTF-8