From d31f2dfcb1ee6591e56b94a0704a45ed16cbfed5 Mon Sep 17 00:00:00 2001 From: Klairm Date: Wed, 5 Feb 2020 19:58:05 +0100 Subject: [PATCH 1/3] Initial commit --- src/bin/C/Makefile | 8 ++++++++ src/bin/C/main | Bin 0 -> 16528 bytes src/bin/C/main.c | 22 ++++++++++++++++++++++ src/bin/main.c | 7 ------- 4 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 src/bin/C/Makefile create mode 100755 src/bin/C/main create mode 100644 src/bin/C/main.c delete mode 100644 src/bin/main.c diff --git a/src/bin/C/Makefile b/src/bin/C/Makefile new file mode 100644 index 0000000..56d2e68 --- /dev/null +++ b/src/bin/C/Makefile @@ -0,0 +1,8 @@ +OBJS = main.c +CC = gcc +C_FLAGS = -w -pedantic +OBJ_NAME = main + +all: $(OBJS) + $(CC) $(OBJS) $(C_FLAGS) -o $(OBJ_NAME) + diff --git a/src/bin/C/main b/src/bin/C/main new file mode 100755 index 0000000000000000000000000000000000000000..e6da70154b11f3dc86ed0e20f1fcfb2aa3b442f3 GIT binary patch literal 16528 zcmeHOeQZF?_Uez+er^-i zs-W~kE~ASk{$PJhn>K0ds!qx@O``v-LC|(c)dYWRtF~35RXYW?szF*&x6yd#+;@(7 z@7Y3DCq*W(eKeBvttr4vDuiIAdiH)Q}KqFpS7 z?=Omb#6pl4NY2zpOaQH!QeHdyiT44b-%F%-;yq-?$Sp)fzxmP+8%zzOpnjmARFTX) zV~EJU>ifV*V!mHNsTLnLX~D>TUj;vG=YN|x?1!kn`Qp+??PsL!ik3`zu(dRdAJ6)m{e&am+An*!& zoar$j6ekHX)_HFoUO*g&Fl=pNw2;mj!$Q-B#uD0aI+w_#PwJv*6o#^+z@nj6G!g|v z%O=t}v9Gr$)~W3X?+EV_T2KFeEvXmuk#y0}3;p{$Gx?m}pBT*O;5m}b=g3ntP3s!U z)_EcF<`|gY9vA@+Xn4Mq)~6TaDD9!X@O8xVKC;48T%hZOc|p8CV(OV^`R%Z@nHqvG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TXliFfN7*iL9E7CKhUMY z85Fx+QfOUYKM>vD(`nbp!!AI<`5-N>QVD9;A))Q-Js6AjY6rW!56Anp{%EW>j-|>Y zGDF3ZZ1I0S6r(2-MuLvqL?X7cG|rPYPBnU($7$$rj?=(?-bPCn^I9sAOX69ao`c|- zOy@NCBOkhbx5XGZkOzxJDq5cL(KI;9!$HF{K6MZ7*iQ`ETO-27@vM;;1T+dJrZ@-3 zjr78(2tVM9Wve;4q#VGYdf=k*&S*U!%lyzb^=4?qT=5!j#Cd5qI!h|d`qC-&#{ z{1M=A$;ke^9%MWNI%~o*tm!xixW;FHUNc8rgLKRz?C%p zuj{mDnelhv+i3CU=Z6a+AR)1xDczNse-{)u_qcw3&fxRVeD0a&C;Ra@;yN3<$o~94 z!c+^8koruhezQO0P0(2VMTAUSP2_rrt?AD!D6lN9pVwJI^5=Tk-!UBGV^APR=4>X| z|Gp|?X4v0~)wyS}ZRY|haQHj34L;l+zJKEU=C)hhMLYg5Kx%Rn&h?sFTHlwZ`&01% literal 0 HcmV?d00001 diff --git a/src/bin/C/main.c b/src/bin/C/main.c new file mode 100644 index 0000000..de8da2b --- /dev/null +++ b/src/bin/C/main.c @@ -0,0 +1,22 @@ +#include + +int main(int argc, char ** argv[]) { + + + + if(argc < 2) + { + printf("\nArgument(s) required, use -h for display help\n"); + } + else if(strcmp(argv[1], "-h") == 0) + { + printf("\n Fixme: Add optionsi\n"); + } + else + { + printf("\nuwu"); + } + + + return 0; +} diff --git a/src/bin/main.c b/src/bin/main.c deleted file mode 100644 index 6f940c8..0000000 --- a/src/bin/main.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() { - // Refer to the documentation - printf("FIXME: %s\n", "Translate zernit into C lang"); - return 1; -} \ No newline at end of file From 230b90cecf5ef34b08f4babe2e55b85ad8f39c8c Mon Sep 17 00:00:00 2001 From: Klairm Date: Thu, 6 Feb 2020 14:30:49 +0100 Subject: [PATCH 2/3] Adapted code --- src/bin/Makefile | 8 ++++++++ src/bin/main | Bin 0 -> 16528 bytes src/bin/main.c | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 src/bin/Makefile create mode 100755 src/bin/main create mode 100644 src/bin/main.c diff --git a/src/bin/Makefile b/src/bin/Makefile new file mode 100644 index 0000000..56d2e68 --- /dev/null +++ b/src/bin/Makefile @@ -0,0 +1,8 @@ +OBJS = main.c +CC = gcc +C_FLAGS = -w -pedantic +OBJ_NAME = main + +all: $(OBJS) + $(CC) $(OBJS) $(C_FLAGS) -o $(OBJ_NAME) + diff --git a/src/bin/main b/src/bin/main new file mode 100755 index 0000000000000000000000000000000000000000..e6da70154b11f3dc86ed0e20f1fcfb2aa3b442f3 GIT binary patch literal 16528 zcmeHOeQZF?_Uez+er^-i zs-W~kE~ASk{$PJhn>K0ds!qx@O``v-LC|(c)dYWRtF~35RXYW?szF*&x6yd#+;@(7 z@7Y3DCq*W(eKeBvttr4vDuiIAdiH)Q}KqFpS7 z?=Omb#6pl4NY2zpOaQH!QeHdyiT44b-%F%-;yq-?$Sp)fzxmP+8%zzOpnjmARFTX) zV~EJU>ifV*V!mHNsTLnLX~D>TUj;vG=YN|x?1!kn`Qp+??PsL!ik3`zu(dRdAJ6)m{e&am+An*!& zoar$j6ekHX)_HFoUO*g&Fl=pNw2;mj!$Q-B#uD0aI+w_#PwJv*6o#^+z@nj6G!g|v z%O=t}v9Gr$)~W3X?+EV_T2KFeEvXmuk#y0}3;p{$Gx?m}pBT*O;5m}b=g3ntP3s!U z)_EcF<`|gY9vA@+Xn4Mq)~6TaDD9!X@O8xVKC;48T%hZOc|p8CV(OV^`R%Z@nHqvG6>H(BU`4BWLzl79*}&c)rF=jr;9Jz>R<#0XG6} z1l$O?5pW~mM&R>{fI9Ivzj~(OofaX~XQvHs<*GVy*?*~8L1ou>K~>p&4!#?kBalNm zh58%UE08w7fHE$jZ(Nn~k3b%tGy@byN+yC8dxu^;1&Z-H_Ed?1j)@>6%za%pzrsXLyhS3%2u8W7?Fwsz+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{K6MZ7*iQ`ETO-27@vM;;1T+dJrZ@-3 zjr78(2tVM9Wve;4q#VGYdf=k*&S*U!%lyzb^=4?qT=5!j#Cd5qI!h|d`qC-&#{ z{1M=A$;ke^9%MWNI%~o*tm!xixW;FHUNc8rgLKRz?C%p zuj{mDnelhv+i3CU=Z6a+AR)1xDczNse-{)u_qcw3&fxRVeD0a&C;Ra@;yN3<$o~94 z!c+^8koruhezQO0P0(2VMTAUSP2_rrt?AD!D6lN9pVwJI^5=Tk-!UBGV^APR=4>X| z|Gp|?X4v0~)wyS}ZRY|haQHj34L;l+zJKEU=C)hhMLYg5Kx%Rn&h?sFTHlwZ`&01% literal 0 HcmV?d00001 diff --git a/src/bin/main.c b/src/bin/main.c new file mode 100644 index 0000000..de8da2b --- /dev/null +++ b/src/bin/main.c @@ -0,0 +1,22 @@ +#include + +int main(int argc, char ** argv[]) { + + + + if(argc < 2) + { + printf("\nArgument(s) required, use -h for display help\n"); + } + else if(strcmp(argv[1], "-h") == 0) + { + printf("\n Fixme: Add optionsi\n"); + } + else + { + printf("\nuwu"); + } + + + return 0; +} From 7425043f68898e3f5a38d05fffaf1e5f4249809c Mon Sep 17 00:00:00 2001 From: Kreyren Date: Fri, 7 Feb 2020 12:37:25 +0000 Subject: [PATCH 3/3] fixes --- src/bin/C/Makefile | 8 -------- src/bin/C/main | Bin 16528 -> 0 bytes src/bin/C/main.c | 22 ---------------------- src/bin/main | Bin 16528 -> 0 bytes src/bin/main.c | 31 ++++++++++++++----------------- 5 files changed, 14 insertions(+), 47 deletions(-) delete mode 100644 src/bin/C/Makefile delete mode 100755 src/bin/C/main delete mode 100644 src/bin/C/main.c delete mode 100755 src/bin/main diff --git a/src/bin/C/Makefile b/src/bin/C/Makefile deleted file mode 100644 index 56d2e68..0000000 --- a/src/bin/C/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -OBJS = main.c -CC = gcc -C_FLAGS = -w -pedantic -OBJ_NAME = main - -all: $(OBJS) - $(CC) $(OBJS) $(C_FLAGS) -o $(OBJ_NAME) - diff --git a/src/bin/C/main b/src/bin/C/main deleted file mode 100755 index e6da70154b11f3dc86ed0e20f1fcfb2aa3b442f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16528 zcmeHOeQZF?_Uez+er^-i zs-W~kE~ASk{$PJhn>K0ds!qx@O``v-LC|(c)dYWRtF~35RXYW?szF*&x6yd#+;@(7 z@7Y3DCq*W(eKeBvttr4vDuiIAdiH)Q}KqFpS7 z?=Omb#6pl4NY2zpOaQH!QeHdyiT44b-%F%-;yq-?$Sp)fzxmP+8%zzOpnjmARFTX) zV~EJU>ifV*V!mHNsTLnLX~D>TUj;vG=YN|x?1!kn`Qp+??PsL!ik3`zu(dRdAJ6)m{e&am+An*!& zoar$j6ekHX)_HFoUO*g&Fl=pNw2;mj!$Q-B#uD0aI+w_#PwJv*6o#^+z@nj6G!g|v z%O=t}v9Gr$)~W3X?+EV_T2KFeEvXmuk#y0}3;p{$Gx?m}pBT*O;5m}b=g3ntP3s!U z)_EcF<`|gY9vA@+Xn4Mq)~6TaDD9!X@O8xVKC;48T%hZOc|p8CV(OV^`R%Z@nHqvG6>H(BU`4BWLzl79*}&c)rF=jr;9Jz>R<#0XG6} z1l$O?5pW~mM&R>{fI9Ivzj~(OofaX~XQvHs<*GVy*?*~8L1ou>K~>p&4!#?kBalNm zh58%UE08w7fHE$jZ(Nn~k3b%tGy@byN+yC8dxu^;1&Z-H_Ed?1j)@>6%za%pzrsXLyhS3%2u8W7?Fwsz+Axk}}) zG4)J*R-KrJfI|m&T>!0Gesktk&^Xi9z?mTDh;3HLs@*R)0&WD{2)Ge& zBj85Bjer{gHv(=1+z7Z4_&rIg`( zK}n{IqnX6GlF~DyB9szKld z?@{<{hIZmRRuK&ZpYwJuU+B$1i%g#g5UAR15Gdb;sNFCf_Pxdw;R+z z>vId$K>Ng^eSyd~1MSg3Yc#MW7Eoe=Ca{kM{PH~~#^F4a1KoF%8v!>0ZUo#2xDjw8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!D6lN9pVwJI^5=Tk-!UBGV^APR=4>X| z|Gp|?X4v0~)wyS}ZRY|haQHj34L;l+zJKEU=C)hhMLYg5Kx%Rn&h?sFTHlwZ`&01% diff --git a/src/bin/C/main.c b/src/bin/C/main.c deleted file mode 100644 index de8da2b..0000000 --- a/src/bin/C/main.c +++ /dev/null @@ -1,22 +0,0 @@ -#include - -int main(int argc, char ** argv[]) { - - - - if(argc < 2) - { - printf("\nArgument(s) required, use -h for display help\n"); - } - else if(strcmp(argv[1], "-h") == 0) - { - printf("\n Fixme: Add optionsi\n"); - } - else - { - printf("\nuwu"); - } - - - return 0; -} diff --git a/src/bin/main b/src/bin/main deleted file mode 100755 index e6da70154b11f3dc86ed0e20f1fcfb2aa3b442f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16528 zcmeHOeQZF?_Uez+er^-i zs-W~kE~ASk{$PJhn>K0ds!qx@O``v-LC|(c)dYWRtF~35RXYW?szF*&x6yd#+;@(7 z@7Y3DCq*W(eKeBvttr4vDuiIAdiH)Q}KqFpS7 z?=Omb#6pl4NY2zpOaQH!QeHdyiT44b-%F%-;yq-?$Sp)fzxmP+8%zzOpnjmARFTX) zV~EJU>ifV*V!mHNsTLnLX~D>TUj;vG=YN|x?1!kn`Qp+??PsL!ik3`zu(dRdAJ6)m{e&am+An*!& zoar$j6ekHX)_HFoUO*g&Fl=pNw2;mj!$Q-B#uD0aI+w_#PwJv*6o#^+z@nj6G!g|v z%O=t}v9Gr$)~W3X?+EV_T2KFeEvXmuk#y0}3;p{$Gx?m}pBT*O;5m}b=g3ntP3s!U z)_EcF<`|gY9vA@+Xn4Mq)~6TaDD9!X@O8xVKC;48T%hZOc|p8CV(OV^`R%Z@nHqvG6>H(BU`4BWLzl79*}&c)rF=jr;9Jz>R<#0XG6} z1l$O?5pW~mM&R>{fI9Ivzj~(OofaX~XQvHs<*GVy*?*~8L1ou>K~>p&4!#?kBalNm zh58%UE08w7fHE$jZ(Nn~k3b%tGy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?-bPCn^I9sAOX69ao`c|- zOy@NCBOkhbx5XGZkOzxJDq5cL(KI;9!$HF{K6MZ7*iQ`ETO-27@vM;;1T+dJrZ@-3 zjr78(2tVM9Wve;4q#VGYdf=k*&S*U!%lyzb^=4?qT=5!j#Cd5qI!h|d`qC-&#{ z{1M=A$;ke^9%MWNI%~o*tm!xixW;FHUNc8rgLKRz?C%p zuj{mDnelhv+i3CU=Z6a+AR)1xDczNse-{)u_qcw3&fxRVeD0a&C;Ra@;yN3<$o~94 z!c+^8koruhezQO0P0(2VMTAUSP2_rrt?AD!D6lN9pVwJI^5=Tk-!UBGV^APR=4>X| z|Gp|?X4v0~)wyS}ZRY|haQHj34L;l+zJKEU=C)hhMLYg5Kx%Rn&h?sFTHlwZ`&01% diff --git a/src/bin/main.c b/src/bin/main.c index de8da2b..166106f 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -1,22 +1,19 @@ #include +// FIXME: Does not build on clang +// FIXME-QA: Outputs warnings + int main(int argc, char ** argv[]) { - - - - if(argc < 2) - { - printf("\nArgument(s) required, use -h for display help\n"); + if(argc < 2) { + // FIXME: Add better help message + // FIXME: Source from po depending on language used + printf("%s\n", "Argument(s) required, use -h for display help"); + return 2; + } else if(strcmp(argv[1], "-h") == 0) { + printf("FIXME: %s\n", "Add optionsi"); + return 1; + } else { + printf("FATAL: %s\n", "Unexpected happend while processing arguments"); + return 256; } - else if(strcmp(argv[1], "-h") == 0) - { - printf("\n Fixme: Add optionsi\n"); - } - else - { - printf("\nuwu"); - } - - - return 0; }