diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-11 23:26:04 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-11 23:26:04 +0000 |
commit | 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f (patch) | |
tree | 53644f3d0a9b24a10275ba723f6e7e43aee00ec9 /command_line/CmdLine/Src/CLTarg.c | |
parent | 0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (diff) | |
download | MWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.tar.gz MWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.zip |
get it to compile with clang
Diffstat (limited to '')
-rw-r--r-- | command_line/CmdLine/Src/CLTarg.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/command_line/CmdLine/Src/CLTarg.c b/command_line/CmdLine/Src/CLTarg.c index a3f4389..6a1782a 100644 --- a/command_line/CmdLine/Src/CLTarg.c +++ b/command_line/CmdLine/Src/CLTarg.c @@ -13,12 +13,9 @@ Target *Target_New(const char *name, OSType cpu, OSType os, OSType lang) { OS_GetCWD(&targ->outputDirectory); -#line 25 - OPTION_ASSERT(Segments_Initialize(&targ->linkage.segs)); -#line 28 - OPTION_ASSERT(Overlays_Initialize(&targ->linkage.overlays)); -#line 35 - OPTION_ASSERT(Files_Initialize(&targ->files) && Files_Initialize(&targ->pchs) && VFiles_Initialize(&targ->virtualFiles) && + OS_ASSERT(25, Segments_Initialize(&targ->linkage.segs)); + OS_ASSERT(28, Overlays_Initialize(&targ->linkage.overlays)); + OS_ASSERT(35, Files_Initialize(&targ->files) && Files_Initialize(&targ->pchs) && VFiles_Initialize(&targ->virtualFiles) && Paths_Initialize(&targ->sysPaths) && Paths_Initialize(&targ->userPaths) && Incls_Initialize(&targ->incls, targ)); return targ; |