diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..bafd5f9
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+ProjektDSIK
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..15a15b2
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/serialmonitor_settings.xml b/.idea/serialmonitor_settings.xml
new file mode 100644
index 0000000..b45564e
--- /dev/null
+++ b/.idea/serialmonitor_settings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index c679ed3..73fcbea 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -11,7 +11,37 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -24,17 +54,21 @@
-
+
-
+
+
+
+
+
-
-
+
+
@@ -42,11 +76,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -54,8 +100,8 @@
-
-
+
+
@@ -66,11 +112,10 @@
-
-
+
+
-
@@ -78,19 +123,25 @@
+
+
+
-
-
-
+
+
+
+
@@ -102,7 +153,7 @@
-
+
@@ -146,36 +197,39 @@
1572428270200
+
-
+
-
+
-
-
+
-
-
-
-
-
-
+
+
+
-
-
+
+
-
+
+
+
+
+
+
+
@@ -185,59 +239,72 @@
- file://$PROJECT_DIR$/EasySockets.h
- 51
-
-
-
- file://$PROJECT_DIR$/EasySockets.h
- 50
-
+ file://$PROJECT_DIR$/main.c
+ 74
+
file://$PROJECT_DIR$/main.c
- 25
-
+ 48
+
+
+
+ file://$PROJECT_DIR$/main.c
+ 37
+
-
-
-
-
+
-
-
-
-
-
-
+
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f08213..6ba5aa7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
-cmake_minimum_required(VERSION 3.14)
+cmake_minimum_required(VERSION 3.13.2)
project(ProjektDSIK C)
set(CMAKE_C_STANDARD 11)
-
-add_executable(ProjektDSIK main.c EasySockets.h Game.h LinkedList.h)
\ No newline at end of file
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
+add_executable(ProjektDSIK main.c EasySockets.h Game.h LinkedList.h Player.h)
\ No newline at end of file
diff --git a/Player.h b/Player.h
new file mode 100644
index 0000000..b3f1604
--- /dev/null
+++ b/Player.h
@@ -0,0 +1,75 @@
+//
+// Created by emile on 10/31/19.
+//
+
+#ifndef PROJEKTDSIK_PLAYER_H
+#define PROJEKTDSIK_PLAYER_H
+
+#include
+#include
+#include
+#include
+
+struct Player{
+ char name[100];
+ int x;
+ int y;
+ int points;
+ int connectionId;
+ pthread_t threadId;
+ struct sockaddr_in incoming;
+} typedef Player;
+Player* players[200];
+bool playerConnected[200];
+void InitPlayers(){
+ for (int i=0; i<200; i++){
+ playerConnected[i] = false;
+ }
+}
+int GetPlayersCount(){
+ int count=0;
+ for (int i=0; i<200; i++){
+ if (playerConnected[i] == true){
+ count++;
+ }
+ }
+ return count;
+}
+int AddPlayerToList(Player* p){
+ for (int i=0; i<200; i++){
+ if (playerConnected[i] == false){
+ playerConnected[i]=true;
+ players[i] = p;
+ return i;
+ }
+ }
+ return -1;
+}
+int RemovePlayer(Player* p){
+ for (int i=0; i<200; i++){
+ if (players[i] == p){
+ playerConnected[i]=false;
+ players[i] = NULL;
+ free(p);
+ return i;
+ }
+ }
+ return -1;
+}
+
+
+Player *CreatePlayer(const char *name, int incomingConnectionId, struct sockaddr_in incoming) {
+ time_t t;
+ Player* p = malloc(sizeof(Player));
+ strcpy(p->name, name);
+ srand((unsigned) time(&t));
+ p->x = rand() % 50;
+ srand((unsigned) time(&t));
+ p->y = rand()%50;
+ p->points=0;
+ p->incoming=incoming;
+ p->connectionId=incomingConnectionId;
+ return p;
+
+};
+#endif //PROJEKTDSIK_PLAYER_H
diff --git a/cmake-build-debug/CMakeCache.txt b/cmake-build-debug/CMakeCache.txt
index af6ae4d..ccc5246 100644
--- a/cmake-build-debug/CMakeCache.txt
+++ b/cmake-build-debug/CMakeCache.txt
@@ -1,6 +1,6 @@
# This is the CMakeCache file.
-# For build in directory: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug
-# It was generated by CMake: /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake
+# For build in directory: /home/emile/DSIK_C/cmake-build-debug
+# It was generated by CMake: /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
@@ -26,7 +26,7 @@ CMAKE_BUILD_TYPE:STRING=Debug
CMAKE_CODEBLOCKS_COMPILER_ID:STRING=
//The CodeBlocks executable
-CMAKE_CODEBLOCKS_EXECUTABLE:FILEPATH=/usr/bin/codeblocks
+CMAKE_CODEBLOCKS_EXECUTABLE:FILEPATH=CMAKE_CODEBLOCKS_EXECUTABLE-NOTFOUND
//Additional command line arguments when CodeBlocks invokes make.
// Enter e.g. -j to get parallel builds
@@ -40,11 +40,11 @@ CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
-CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
+CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-8
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
-CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
+CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-8
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
@@ -192,10 +192,10 @@ ProcessorCount_cmd_getconf:FILEPATH=/usr/bin/getconf
ProcessorCount_cmd_sysctl:FILEPATH=/sbin/sysctl
//Value Computed by CMake
-ProjektDSIK_BINARY_DIR:STATIC=/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug
+ProjektDSIK_BINARY_DIR:STATIC=/home/emile/DSIK_C/cmake-build-debug
//Value Computed by CMake
-ProjektDSIK_SOURCE_DIR:STATIC=/home/students/s444440/CLionProjects/ProjektDSIK
+ProjektDSIK_SOURCE_DIR:STATIC=/home/emile/DSIK_C
########################
@@ -205,21 +205,21 @@ ProjektDSIK_SOURCE_DIR:STATIC=/home/students/s444440/CLionProjects/ProjektDSIK
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
-CMAKE_CACHEFILE_DIR:INTERNAL=/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug
+CMAKE_CACHEFILE_DIR:INTERNAL=/home/emile/DSIK_C/cmake-build-debug
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
-CMAKE_CACHE_MINOR_VERSION:INTERNAL=14
+CMAKE_CACHE_MINOR_VERSION:INTERNAL=13
//Patch version of cmake used to create the current loaded cache
-CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
+CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
-CMAKE_COMMAND:INTERNAL=/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake
+CMAKE_COMMAND:INTERNAL=/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake
//Path to cpack program executable.
-CMAKE_CPACK_COMMAND:INTERNAL=/opt/clion/2019.1.4/bin/cmake/linux/bin/cpack
+CMAKE_CPACK_COMMAND:INTERNAL=/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cpack
//Path to ctest program executable.
-CMAKE_CTEST_COMMAND:INTERNAL=/opt/clion/2019.1.4/bin/cmake/linux/bin/ctest
+CMAKE_CTEST_COMMAND:INTERNAL=/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/ctest
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
@@ -253,9 +253,9 @@ CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=CodeBlocks
//C compiler system defined macros
-CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS:INTERNAL=__STDC__;1;__STDC_VERSION__;201112L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;7;__GNUC_MINOR__;4;__GNUC_PATCHLEVEL__;0;__VERSION__;"7.4.0";__ATOMIC_RELAXED;0;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__pic__;2;__PIC__;2;__pie__;2;__PIE__;2;__FINITE_MATH_ONLY__;0;_LP64;1;__LP64__;1;__SIZEOF_INT__;4;__SIZEOF_LONG__;8;__SIZEOF_LONG_LONG__;8;__SIZEOF_SHORT__;2;__SIZEOF_FLOAT__;4;__SIZEOF_DOUBLE__;8;__SIZEOF_LONG_DOUBLE__;16;__SIZEOF_SIZE_T__;8;__CHAR_BIT__;8;__BIGGEST_ALIGNMENT__;16;__ORDER_LITTLE_ENDIAN__;1234;__ORDER_BIG_ENDIAN__;4321;__ORDER_PDP_ENDIAN__;3412;__BYTE_ORDER__;__ORDER_LITTLE_ENDIAN__;__FLOAT_WORD_ORDER__;__ORDER_LITTLE_ENDIAN__;__SIZEOF_POINTER__;8;__SIZE_TYPE__;long unsigned int;__PTRDIFF_TYPE__;long int;__WCHAR_TYPE__;int;__WINT_TYPE__;unsigned int;__INTMAX_TYPE__;long int;__UINTMAX_TYPE__;long unsigned int;__CHAR16_TYPE__;short unsigned int;__CHAR32_TYPE__;unsigned int;__SIG_ATOMIC_TYPE__;int;__INT8_TYPE__;signed char;__INT16_TYPE__;short int;__INT32_TYPE__;int;__INT64_TYPE__;long int;__UINT8_TYPE__;unsigned char;__UINT16_TYPE__;short unsigned int;__UINT32_TYPE__;unsigned int;__UINT64_TYPE__;long unsigned int;__INT_LEAST8_TYPE__;signed char;__INT_LEAST16_TYPE__;short int;__INT_LEAST32_TYPE__;int;__INT_LEAST64_TYPE__;long int;__UINT_LEAST8_TYPE__;unsigned char;__UINT_LEAST16_TYPE__;short unsigned int;__UINT_LEAST32_TYPE__;unsigned int;__UINT_LEAST64_TYPE__;long unsigned int;__INT_FAST8_TYPE__;signed char;__INT_FAST16_TYPE__;long int;__INT_FAST32_TYPE__;long int;__INT_FAST64_TYPE__;long int;__UINT_FAST8_TYPE__;unsigned char;__UINT_FAST16_TYPE__;long unsigned int;__UINT_FAST32_TYPE__;long unsigned int;__UINT_FAST64_TYPE__;long unsigned int;__INTPTR_TYPE__;long int;__UINTPTR_TYPE__;long unsigned int;__has_include(STR);__has_include__(STR);__has_include_next(STR);__has_include_next__(STR);__GXX_ABI_VERSION;1011;__SCHAR_MAX__;0x7f;__SHRT_MAX__;0x7fff;__INT_MAX__;0x7fffffff;__LONG_MAX__;0x7fffffffffffffffL;__LONG_LONG_MAX__;0x7fffffffffffffffLL;__WCHAR_MAX__;0x7fffffff;__WCHAR_MIN__;(-__WCHAR_MAX__ - 1);__WINT_MAX__;0xffffffffU;__WINT_MIN__;0U;__PTRDIFF_MAX__;0x7fffffffffffffffL;__SIZE_MAX__;0xffffffffffffffffUL;__SCHAR_WIDTH__;8;__SHRT_WIDTH__;16;__INT_WIDTH__;32;__LONG_WIDTH__;64;__LONG_LONG_WIDTH__;64;__WCHAR_WIDTH__;32;__WINT_WIDTH__;32;__PTRDIFF_WIDTH__;64;__SIZE_WIDTH__;64;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__INTMAX_WIDTH__;64;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__SIG_ATOMIC_WIDTH__;32;__INT8_MAX__;0x7f;__INT16_MAX__;0x7fff;__INT32_MAX__;0x7fffffff;__INT64_MAX__;0x7fffffffffffffffL;__UINT8_MAX__;0xff;__UINT16_MAX__;0xffff;__UINT32_MAX__;0xffffffffU;__UINT64_MAX__;0xffffffffffffffffUL;__INT_LEAST8_MAX__;0x7f;__INT8_C(c);c;__INT_LEAST8_WIDTH__;8;__INT_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST16_WIDTH__;16;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST32_WIDTH__;32;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__INT_LEAST64_WIDTH__;64;__UINT_LEAST8_MAX__;0xff;__UINT8_C(c);c;__UINT_LEAST16_MAX__;0xffff;__UINT16_C(c);c;__UINT_LEAST32_MAX__;0xffffffffU;__UINT32_C(c);c ## U;__UINT_LEAST64_MAX__;0xffffffffffffffffUL;__UINT64_C(c);c ## UL;__INT_FAST8_MAX__;0x7f;__INT_FAST8_WIDTH__;8;__INT_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST16_WIDTH__;64;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST32_WIDTH__;64;__INT_FAST64_MAX__;0x7fffffffffffffffL;__INT_FAST64_WIDTH__;64;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__INTPTR_WIDTH__;64;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__;0;__FLT_EVAL_METHOD_TS_18661_3__;0;__DEC_EVAL_METHOD__;2;__FLT_RADIX__;2;__FLT_MANT_DIG__;24;__FLT_DIG__;6;__FLT_MIN_EXP__;(-125);__FLT_MIN_10_EXP__;(-37);__FLT_MAX_EXP__;128;__FLT_MAX_10_EXP__;38;__FLT_DECIMAL_DIG__;9;__FLT_MAX__;3.40282346638528859811704183484516925e+38F;__FLT_MIN__;1.17549435082228750796873653722224568e-38F;__FLT_EPSILON__;1.19209289550781250000000000000000000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092372958328991613e-45F;__FLT_HAS_DENORM__;1;__FLT_HAS_INFINITY__;1;__FLT_HAS_QUIET_NAN__;1;__DBL_MANT_DIG__;53;__DBL_DIG__;15;__DBL_MIN_EXP__;(-1021);__DBL_MIN_10_EXP__;(-307);__DBL_MAX_EXP__;1024;__DBL_MAX_10_EXP__;308;__DBL_DECIMAL_DIG__;17;__DBL_MAX__;((double)1.79769313486231570814527423731704357e+308L);__DBL_MIN__;((double)2.22507385850720138309023271733240406e-308L);__DBL_EPSILON__;((double)2.22044604925031308084726333618164062e-16L);__DBL_DENORM_MIN__;((double)4.94065645841246544176568792868221372e-324L);__DBL_HAS_DENORM__;1;__DBL_HAS_INFINITY__;1;__DBL_HAS_QUIET_NAN__;1;__LDBL_MANT_DIG__;64;__LDBL_DIG__;18;__LDBL_MIN_EXP__;(-16381);__LDBL_MIN_10_EXP__;(-4931);__LDBL_MAX_EXP__;16384;__LDBL_MAX_10_EXP__;4932;__DECIMAL_DIG__;21;__LDBL_DECIMAL_DIG__;21;__LDBL_MAX__;1.18973149535723176502126385303097021e+4932L;__LDBL_MIN__;3.36210314311209350626267781732175260e-4932L;__LDBL_EPSILON__;1.08420217248550443400745280086994171e-19L;__LDBL_DENORM_MIN__;3.64519953188247460252840593361941982e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_HAS_QUIET_NAN__;1;__FLT32_MANT_DIG__;24;__FLT32_DIG__;6;__FLT32_MIN_EXP__;(-125);__FLT32_MIN_10_EXP__;(-37);__FLT32_MAX_EXP__;128;__FLT32_MAX_10_EXP__;38;__FLT32_DECIMAL_DIG__;9;__FLT32_MAX__;3.40282346638528859811704183484516925e+38F32;__FLT32_MIN__;1.17549435082228750796873653722224568e-38F32;__FLT32_EPSILON__;1.19209289550781250000000000000000000e-7F32;__FLT32_DENORM_MIN__;1.40129846432481707092372958328991613e-45F32;__FLT32_HAS_DENORM__;1;__FLT32_HAS_INFINITY__;1;__FLT32_HAS_QUIET_NAN__;1;__FLT64_MANT_DIG__;53;__FLT64_DIG__;15;__FLT64_MIN_EXP__;(-1021);__FLT64_MIN_10_EXP__;(-307);__FLT64_MAX_EXP__;1024;__FLT64_MAX_10_EXP__;308;__FLT64_DECIMAL_DIG__;17;__FLT64_MAX__;1.79769313486231570814527423731704357e+308F64;__FLT64_MIN__;2.22507385850720138309023271733240406e-308F64;__FLT64_EPSILON__;2.22044604925031308084726333618164062e-16F64;__FLT64_DENORM_MIN__;4.94065645841246544176568792868221372e-324F64;__FLT64_HAS_DENORM__;1;__FLT64_HAS_INFINITY__;1;__FLT64_HAS_QUIET_NAN__;1;__FLT128_MANT_DIG__;113;__FLT128_DIG__;33;__FLT128_MIN_EXP__;(-16381);__FLT128_MIN_10_EXP__;(-4931);__FLT128_MAX_EXP__;16384;__FLT128_MAX_10_EXP__;4932;__FLT128_DECIMAL_DIG__;36;__FLT128_MAX__;1.18973149535723176508575932662800702e+4932F128;__FLT128_MIN__;3.36210314311209350626267781732175260e-4932F128;__FLT128_EPSILON__;1.92592994438723585305597794258492732e-34F128;__FLT128_DENORM_MIN__;6.47517511943802511092443895822764655e-4966F128;__FLT128_HAS_DENORM__;1;__FLT128_HAS_INFINITY__;1;__FLT128_HAS_QUIET_NAN__;1;__FLT32X_MANT_DIG__;53;__FLT32X_DIG__;15;__FLT32X_MIN_EXP__;(-1021);__FLT32X_MIN_10_EXP__;(-307);__FLT32X_MAX_EXP__;1024;__FLT32X_MAX_10_EXP__;308;__FLT32X_DECIMAL_DIG__;17;__FLT32X_MAX__;1.79769313486231570814527423731704357e+308F32x;__FLT32X_MIN__;2.22507385850720138309023271733240406e-308F32x;__FLT32X_EPSILON__;2.22044604925031308084726333618164062e-16F32x;__FLT32X_DENORM_MIN__;4.94065645841246544176568792868221372e-324F32x;__FLT32X_HAS_DENORM__;1;__FLT32X_HAS_INFINITY__;1;__FLT32X_HAS_QUIET_NAN__;1;__FLT64X_MANT_DIG__;64;__FLT64X_DIG__;18;__FLT64X_MIN_EXP__;(-16381);__FLT64X_MIN_10_EXP__;(-4931);__FLT64X_MAX_EXP__;16384;__FLT64X_MAX_10_EXP__;4932;__FLT64X_DECIMAL_DIG__;21;__FLT64X_MAX__;1.18973149535723176502126385303097021e+4932F64x;__FLT64X_MIN__;3.36210314311209350626267781732175260e-4932F64x;__FLT64X_EPSILON__;1.08420217248550443400745280086994171e-19F64x;__FLT64X_DENORM_MIN__;3.64519953188247460252840593361941982e-4951F64x;__FLT64X_HAS_DENORM__;1;__FLT64X_HAS_INFINITY__;1;__FLT64X_HAS_QUIET_NAN__;1;__DEC32_MANT_DIG__;7;__DEC32_MIN_EXP__;(-94);__DEC32_MAX_EXP__;97;__DEC32_MIN__;1E-95DF;__DEC32_MAX__;9.999999E96DF;__DEC32_EPSILON__;1E-6DF;__DEC32_SUBNORMAL_MIN__;0.000001E-95DF;__DEC64_MANT_DIG__;16;__DEC64_MIN_EXP__;(-382);__DEC64_MAX_EXP__;385;__DEC64_MIN__;1E-383DD;__DEC64_MAX__;9.999999999999999E384DD;__DEC64_EPSILON__;1E-15DD;__DEC64_SUBNORMAL_MIN__;0.000000000000001E-383DD;__DEC128_MANT_DIG__;34;__DEC128_MIN_EXP__;(-6142);__DEC128_MAX_EXP__;6145;__DEC128_MIN__;1E-6143DL;__DEC128_MAX__;9.999999999999999999999999999999999E6144DL;__DEC128_EPSILON__;1E-33DL;__DEC128_SUBNORMAL_MIN__;0.000000000000000000000000000000001E-6143DL;__REGISTER_PREFIX__; ;__USER_LABEL_PREFIX__; ;__GNUC_STDC_INLINE__;1;__NO_INLINE__;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8;1;__GCC_ATOMIC_BOOL_LOCK_FREE;2;__GCC_ATOMIC_CHAR_LOCK_FREE;2;__GCC_ATOMIC_CHAR16_T_LOCK_FREE;2;__GCC_ATOMIC_CHAR32_T_LOCK_FREE;2;__GCC_ATOMIC_WCHAR_T_LOCK_FREE;2;__GCC_ATOMIC_SHORT_LOCK_FREE;2;__GCC_ATOMIC_INT_LOCK_FREE;2;__GCC_ATOMIC_LONG_LOCK_FREE;2;__GCC_ATOMIC_LLONG_LOCK_FREE;2;__GCC_ATOMIC_TEST_AND_SET_TRUEVAL;1;__GCC_ATOMIC_POINTER_LOCK_FREE;2;__GCC_HAVE_DWARF2_CFI_ASM;1;__PRAGMA_REDEFINE_EXTNAME;1;__SSP_STRONG__;3;__SIZEOF_INT128__;16;__SIZEOF_WCHAR_T__;4;__SIZEOF_WINT_T__;4;__SIZEOF_PTRDIFF_T__;8;__amd64;1;__amd64__;1;__x86_64;1;__x86_64__;1;__SIZEOF_FLOAT80__;16;__SIZEOF_FLOAT128__;16;__ATOMIC_HLE_ACQUIRE;65536;__ATOMIC_HLE_RELEASE;131072;__GCC_ASM_FLAG_OUTPUTS__;1;__k8;1;__k8__;1;__code_model_small__;1;__MMX__;1;__SSE__;1;__SSE2__;1;__FXSR__;1;__SSE_MATH__;1;__SSE2_MATH__;1;__SEG_FS;1;__SEG_GS;1;__gnu_linux__;1;__linux;1;__linux__;1;linux;1;__unix;1;__unix__;1;unix;1;__ELF__;1;__DECIMAL_BID_FORMAT__;1;_STDC_PREDEF_H;1;__STDC_IEC_559__;1;__STDC_IEC_559_COMPLEX__;1;__STDC_ISO_10646__;201706L;__STDC_NO_THREADS__;1
+CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS:INTERNAL=__STDC__;1;__STDC_VERSION__;201710L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;8;__GNUC_MINOR__;2;__GNUC_PATCHLEVEL__;0;__VERSION__;"8.2.0";__ATOMIC_RELAXED;0;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__pic__;2;__PIC__;2;__pie__;2;__PIE__;2;__FINITE_MATH_ONLY__;0;_LP64;1;__LP64__;1;__SIZEOF_INT__;4;__SIZEOF_LONG__;8;__SIZEOF_LONG_LONG__;8;__SIZEOF_SHORT__;2;__SIZEOF_FLOAT__;4;__SIZEOF_DOUBLE__;8;__SIZEOF_LONG_DOUBLE__;16;__SIZEOF_SIZE_T__;8;__CHAR_BIT__;8;__BIGGEST_ALIGNMENT__;16;__ORDER_LITTLE_ENDIAN__;1234;__ORDER_BIG_ENDIAN__;4321;__ORDER_PDP_ENDIAN__;3412;__BYTE_ORDER__;__ORDER_LITTLE_ENDIAN__;__FLOAT_WORD_ORDER__;__ORDER_LITTLE_ENDIAN__;__SIZEOF_POINTER__;8;__SIZE_TYPE__;long unsigned int;__PTRDIFF_TYPE__;long int;__WCHAR_TYPE__;int;__WINT_TYPE__;unsigned int;__INTMAX_TYPE__;long int;__UINTMAX_TYPE__;long unsigned int;__CHAR16_TYPE__;short unsigned int;__CHAR32_TYPE__;unsigned int;__SIG_ATOMIC_TYPE__;int;__INT8_TYPE__;signed char;__INT16_TYPE__;short int;__INT32_TYPE__;int;__INT64_TYPE__;long int;__UINT8_TYPE__;unsigned char;__UINT16_TYPE__;short unsigned int;__UINT32_TYPE__;unsigned int;__UINT64_TYPE__;long unsigned int;__INT_LEAST8_TYPE__;signed char;__INT_LEAST16_TYPE__;short int;__INT_LEAST32_TYPE__;int;__INT_LEAST64_TYPE__;long int;__UINT_LEAST8_TYPE__;unsigned char;__UINT_LEAST16_TYPE__;short unsigned int;__UINT_LEAST32_TYPE__;unsigned int;__UINT_LEAST64_TYPE__;long unsigned int;__INT_FAST8_TYPE__;signed char;__INT_FAST16_TYPE__;long int;__INT_FAST32_TYPE__;long int;__INT_FAST64_TYPE__;long int;__UINT_FAST8_TYPE__;unsigned char;__UINT_FAST16_TYPE__;long unsigned int;__UINT_FAST32_TYPE__;long unsigned int;__UINT_FAST64_TYPE__;long unsigned int;__INTPTR_TYPE__;long int;__UINTPTR_TYPE__;long unsigned int;__has_include(STR);__has_include__(STR);__has_include_next(STR);__has_include_next__(STR);__GXX_ABI_VERSION;1013;__SCHAR_MAX__;0x7f;__SHRT_MAX__;0x7fff;__INT_MAX__;0x7fffffff;__LONG_MAX__;0x7fffffffffffffffL;__LONG_LONG_MAX__;0x7fffffffffffffffLL;__WCHAR_MAX__;0x7fffffff;__WCHAR_MIN__;(-__WCHAR_MAX__ - 1);__WINT_MAX__;0xffffffffU;__WINT_MIN__;0U;__PTRDIFF_MAX__;0x7fffffffffffffffL;__SIZE_MAX__;0xffffffffffffffffUL;__SCHAR_WIDTH__;8;__SHRT_WIDTH__;16;__INT_WIDTH__;32;__LONG_WIDTH__;64;__LONG_LONG_WIDTH__;64;__WCHAR_WIDTH__;32;__WINT_WIDTH__;32;__PTRDIFF_WIDTH__;64;__SIZE_WIDTH__;64;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__INTMAX_WIDTH__;64;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__SIG_ATOMIC_WIDTH__;32;__INT8_MAX__;0x7f;__INT16_MAX__;0x7fff;__INT32_MAX__;0x7fffffff;__INT64_MAX__;0x7fffffffffffffffL;__UINT8_MAX__;0xff;__UINT16_MAX__;0xffff;__UINT32_MAX__;0xffffffffU;__UINT64_MAX__;0xffffffffffffffffUL;__INT_LEAST8_MAX__;0x7f;__INT8_C(c);c;__INT_LEAST8_WIDTH__;8;__INT_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST16_WIDTH__;16;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST32_WIDTH__;32;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__INT_LEAST64_WIDTH__;64;__UINT_LEAST8_MAX__;0xff;__UINT8_C(c);c;__UINT_LEAST16_MAX__;0xffff;__UINT16_C(c);c;__UINT_LEAST32_MAX__;0xffffffffU;__UINT32_C(c);c ## U;__UINT_LEAST64_MAX__;0xffffffffffffffffUL;__UINT64_C(c);c ## UL;__INT_FAST8_MAX__;0x7f;__INT_FAST8_WIDTH__;8;__INT_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST16_WIDTH__;64;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST32_WIDTH__;64;__INT_FAST64_MAX__;0x7fffffffffffffffL;__INT_FAST64_WIDTH__;64;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__INTPTR_WIDTH__;64;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__;0;__FLT_EVAL_METHOD_TS_18661_3__;0;__DEC_EVAL_METHOD__;2;__FLT_RADIX__;2;__FLT_MANT_DIG__;24;__FLT_DIG__;6;__FLT_MIN_EXP__;(-125);__FLT_MIN_10_EXP__;(-37);__FLT_MAX_EXP__;128;__FLT_MAX_10_EXP__;38;__FLT_DECIMAL_DIG__;9;__FLT_MAX__;3.40282346638528859811704183484516925e+38F;__FLT_MIN__;1.17549435082228750796873653722224568e-38F;__FLT_EPSILON__;1.19209289550781250000000000000000000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092372958328991613e-45F;__FLT_HAS_DENORM__;1;__FLT_HAS_INFINITY__;1;__FLT_HAS_QUIET_NAN__;1;__DBL_MANT_DIG__;53;__DBL_DIG__;15;__DBL_MIN_EXP__;(-1021);__DBL_MIN_10_EXP__;(-307);__DBL_MAX_EXP__;1024;__DBL_MAX_10_EXP__;308;__DBL_DECIMAL_DIG__;17;__DBL_MAX__;((double)1.79769313486231570814527423731704357e+308L);__DBL_MIN__;((double)2.22507385850720138309023271733240406e-308L);__DBL_EPSILON__;((double)2.22044604925031308084726333618164062e-16L);__DBL_DENORM_MIN__;((double)4.94065645841246544176568792868221372e-324L);__DBL_HAS_DENORM__;1;__DBL_HAS_INFINITY__;1;__DBL_HAS_QUIET_NAN__;1;__LDBL_MANT_DIG__;64;__LDBL_DIG__;18;__LDBL_MIN_EXP__;(-16381);__LDBL_MIN_10_EXP__;(-4931);__LDBL_MAX_EXP__;16384;__LDBL_MAX_10_EXP__;4932;__DECIMAL_DIG__;21;__LDBL_DECIMAL_DIG__;21;__LDBL_MAX__;1.18973149535723176502126385303097021e+4932L;__LDBL_MIN__;3.36210314311209350626267781732175260e-4932L;__LDBL_EPSILON__;1.08420217248550443400745280086994171e-19L;__LDBL_DENORM_MIN__;3.64519953188247460252840593361941982e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_HAS_QUIET_NAN__;1;__FLT32_MANT_DIG__;24;__FLT32_DIG__;6;__FLT32_MIN_EXP__;(-125);__FLT32_MIN_10_EXP__;(-37);__FLT32_MAX_EXP__;128;__FLT32_MAX_10_EXP__;38;__FLT32_DECIMAL_DIG__;9;__FLT32_MAX__;3.40282346638528859811704183484516925e+38F32;__FLT32_MIN__;1.17549435082228750796873653722224568e-38F32;__FLT32_EPSILON__;1.19209289550781250000000000000000000e-7F32;__FLT32_DENORM_MIN__;1.40129846432481707092372958328991613e-45F32;__FLT32_HAS_DENORM__;1;__FLT32_HAS_INFINITY__;1;__FLT32_HAS_QUIET_NAN__;1;__FLT64_MANT_DIG__;53;__FLT64_DIG__;15;__FLT64_MIN_EXP__;(-1021);__FLT64_MIN_10_EXP__;(-307);__FLT64_MAX_EXP__;1024;__FLT64_MAX_10_EXP__;308;__FLT64_DECIMAL_DIG__;17;__FLT64_MAX__;1.79769313486231570814527423731704357e+308F64;__FLT64_MIN__;2.22507385850720138309023271733240406e-308F64;__FLT64_EPSILON__;2.22044604925031308084726333618164062e-16F64;__FLT64_DENORM_MIN__;4.94065645841246544176568792868221372e-324F64;__FLT64_HAS_DENORM__;1;__FLT64_HAS_INFINITY__;1;__FLT64_HAS_QUIET_NAN__;1;__FLT128_MANT_DIG__;113;__FLT128_DIG__;33;__FLT128_MIN_EXP__;(-16381);__FLT128_MIN_10_EXP__;(-4931);__FLT128_MAX_EXP__;16384;__FLT128_MAX_10_EXP__;4932;__FLT128_DECIMAL_DIG__;36;__FLT128_MAX__;1.18973149535723176508575932662800702e+4932F128;__FLT128_MIN__;3.36210314311209350626267781732175260e-4932F128;__FLT128_EPSILON__;1.92592994438723585305597794258492732e-34F128;__FLT128_DENORM_MIN__;6.47517511943802511092443895822764655e-4966F128;__FLT128_HAS_DENORM__;1;__FLT128_HAS_INFINITY__;1;__FLT128_HAS_QUIET_NAN__;1;__FLT32X_MANT_DIG__;53;__FLT32X_DIG__;15;__FLT32X_MIN_EXP__;(-1021);__FLT32X_MIN_10_EXP__;(-307);__FLT32X_MAX_EXP__;1024;__FLT32X_MAX_10_EXP__;308;__FLT32X_DECIMAL_DIG__;17;__FLT32X_MAX__;1.79769313486231570814527423731704357e+308F32x;__FLT32X_MIN__;2.22507385850720138309023271733240406e-308F32x;__FLT32X_EPSILON__;2.22044604925031308084726333618164062e-16F32x;__FLT32X_DENORM_MIN__;4.94065645841246544176568792868221372e-324F32x;__FLT32X_HAS_DENORM__;1;__FLT32X_HAS_INFINITY__;1;__FLT32X_HAS_QUIET_NAN__;1;__FLT64X_MANT_DIG__;64;__FLT64X_DIG__;18;__FLT64X_MIN_EXP__;(-16381);__FLT64X_MIN_10_EXP__;(-4931);__FLT64X_MAX_EXP__;16384;__FLT64X_MAX_10_EXP__;4932;__FLT64X_DECIMAL_DIG__;21;__FLT64X_MAX__;1.18973149535723176502126385303097021e+4932F64x;__FLT64X_MIN__;3.36210314311209350626267781732175260e-4932F64x;__FLT64X_EPSILON__;1.08420217248550443400745280086994171e-19F64x;__FLT64X_DENORM_MIN__;3.64519953188247460252840593361941982e-4951F64x;__FLT64X_HAS_DENORM__;1;__FLT64X_HAS_INFINITY__;1;__FLT64X_HAS_QUIET_NAN__;1;__DEC32_MANT_DIG__;7;__DEC32_MIN_EXP__;(-94);__DEC32_MAX_EXP__;97;__DEC32_MIN__;1E-95DF;__DEC32_MAX__;9.999999E96DF;__DEC32_EPSILON__;1E-6DF;__DEC32_SUBNORMAL_MIN__;0.000001E-95DF;__DEC64_MANT_DIG__;16;__DEC64_MIN_EXP__;(-382);__DEC64_MAX_EXP__;385;__DEC64_MIN__;1E-383DD;__DEC64_MAX__;9.999999999999999E384DD;__DEC64_EPSILON__;1E-15DD;__DEC64_SUBNORMAL_MIN__;0.000000000000001E-383DD;__DEC128_MANT_DIG__;34;__DEC128_MIN_EXP__;(-6142);__DEC128_MAX_EXP__;6145;__DEC128_MIN__;1E-6143DL;__DEC128_MAX__;9.999999999999999999999999999999999E6144DL;__DEC128_EPSILON__;1E-33DL;__DEC128_SUBNORMAL_MIN__;0.000000000000000000000000000000001E-6143DL;__REGISTER_PREFIX__; ;__USER_LABEL_PREFIX__; ;__GNUC_STDC_INLINE__;1;__NO_INLINE__;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8;1;__GCC_ATOMIC_BOOL_LOCK_FREE;2;__GCC_ATOMIC_CHAR_LOCK_FREE;2;__GCC_ATOMIC_CHAR16_T_LOCK_FREE;2;__GCC_ATOMIC_CHAR32_T_LOCK_FREE;2;__GCC_ATOMIC_WCHAR_T_LOCK_FREE;2;__GCC_ATOMIC_SHORT_LOCK_FREE;2;__GCC_ATOMIC_INT_LOCK_FREE;2;__GCC_ATOMIC_LONG_LOCK_FREE;2;__GCC_ATOMIC_LLONG_LOCK_FREE;2;__GCC_ATOMIC_TEST_AND_SET_TRUEVAL;1;__GCC_ATOMIC_POINTER_LOCK_FREE;2;__GCC_HAVE_DWARF2_CFI_ASM;1;__PRAGMA_REDEFINE_EXTNAME;1;__SSP_STRONG__;3;__SIZEOF_INT128__;16;__SIZEOF_WCHAR_T__;4;__SIZEOF_WINT_T__;4;__SIZEOF_PTRDIFF_T__;8;__amd64;1;__amd64__;1;__x86_64;1;__x86_64__;1;__SIZEOF_FLOAT80__;16;__SIZEOF_FLOAT128__;16;__ATOMIC_HLE_ACQUIRE;65536;__ATOMIC_HLE_RELEASE;131072;__GCC_ASM_FLAG_OUTPUTS__;1;__k8;1;__k8__;1;__code_model_small__;1;__MMX__;1;__SSE__;1;__SSE2__;1;__FXSR__;1;__SSE_MATH__;1;__SSE2_MATH__;1;__SEG_FS;1;__SEG_GS;1;__gnu_linux__;1;__linux;1;__linux__;1;linux;1;__unix;1;__unix__;1;unix;1;__ELF__;1;__DECIMAL_BID_FORMAT__;1;_STDC_PREDEF_H;1;__STDC_IEC_559__;1;__STDC_IEC_559_COMPLEX__;1;__STDC_ISO_10646__;201706L
//C compiler system include directories
-CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include
+CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/lib/gcc/x86_64-linux-gnu/8/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
@@ -264,9 +264,13 @@ CMAKE_GENERATOR_INSTANCE:INTERNAL=
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
+//Have symbol pthread_create
+CMAKE_HAVE_LIBC_CREATE:INTERNAL=
+//Have include pthread.h
+CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
-CMAKE_HOME_DIRECTORY:INTERNAL=/home/students/s444440/CLionProjects/ProjektDSIK
+CMAKE_HOME_DIRECTORY:INTERNAL=/home/emile/DSIK_C
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
@@ -296,7 +300,7 @@ CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//Path to CMake installation.
-CMAKE_ROOT:INTERNAL=/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14
+CMAKE_ROOT:INTERNAL=/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
@@ -327,8 +331,12 @@ CMAKE_STRIP-ADVANCED:INTERNAL=1
CMAKE_UNAME:INTERNAL=/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
+//Details about finding Threads
+FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: ProcessorCount_cmd_getconf
ProcessorCount_cmd_getconf-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ProcessorCount_cmd_sysctl
ProcessorCount_cmd_sysctl-ADVANCED:INTERNAL=1
+//Result of TRY_COMPILE
+THREADS_HAVE_PTHREAD_ARG:INTERNAL=TRUE
diff --git a/cmake-build-debug/CMakeFiles/3.14.3/CMakeCCompiler.cmake b/cmake-build-debug/CMakeFiles/3.13.2/CMakeCCompiler.cmake
similarity index 83%
rename from cmake-build-debug/CMakeFiles/3.14.3/CMakeCCompiler.cmake
rename to cmake-build-debug/CMakeFiles/3.13.2/CMakeCCompiler.cmake
index 04a3d4c..5dc37c8 100644
--- a/cmake-build-debug/CMakeFiles/3.14.3/CMakeCCompiler.cmake
+++ b/cmake-build-debug/CMakeFiles/3.13.2/CMakeCCompiler.cmake
@@ -1,7 +1,7 @@
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
-set(CMAKE_C_COMPILER_VERSION "7.4.0")
+set(CMAKE_C_COMPILER_VERSION "8.2.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
@@ -17,11 +17,10 @@ set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
-set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-7")
+set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-8")
set(CMAKE_RANLIB "/usr/bin/ranlib")
-set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
+set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-8")
set(CMAKE_LINKER "/usr/bin/ld")
-set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
@@ -69,7 +68,6 @@ endif()
-set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
-set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
+set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
diff --git a/cmake-build-debug/CMakeFiles/3.13.2/CMakeDetermineCompilerABI_C.bin b/cmake-build-debug/CMakeFiles/3.13.2/CMakeDetermineCompilerABI_C.bin
new file mode 100755
index 0000000..11667df
Binary files /dev/null and b/cmake-build-debug/CMakeFiles/3.13.2/CMakeDetermineCompilerABI_C.bin differ
diff --git a/cmake-build-debug/CMakeFiles/3.14.3/CMakeSystem.cmake b/cmake-build-debug/CMakeFiles/3.13.2/CMakeSystem.cmake
similarity index 52%
rename from cmake-build-debug/CMakeFiles/3.14.3/CMakeSystem.cmake
rename to cmake-build-debug/CMakeFiles/3.13.2/CMakeSystem.cmake
index c1d4a4b..b28de28 100644
--- a/cmake-build-debug/CMakeFiles/3.14.3/CMakeSystem.cmake
+++ b/cmake-build-debug/CMakeFiles/3.13.2/CMakeSystem.cmake
@@ -1,13 +1,13 @@
-set(CMAKE_HOST_SYSTEM "Linux-4.15.0-54-generic")
+set(CMAKE_HOST_SYSTEM "Linux-4.18.0-13-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
-set(CMAKE_HOST_SYSTEM_VERSION "4.15.0-54-generic")
+set(CMAKE_HOST_SYSTEM_VERSION "4.18.0-13-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
-set(CMAKE_SYSTEM "Linux-4.15.0-54-generic")
+set(CMAKE_SYSTEM "Linux-4.18.0-13-generic")
set(CMAKE_SYSTEM_NAME "Linux")
-set(CMAKE_SYSTEM_VERSION "4.15.0-54-generic")
+set(CMAKE_SYSTEM_VERSION "4.18.0-13-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
diff --git a/cmake-build-debug/CMakeFiles/3.14.3/CompilerIdC/CMakeCCompilerId.c b/cmake-build-debug/CMakeFiles/3.13.2/CompilerIdC/CMakeCCompilerId.c
similarity index 93%
rename from cmake-build-debug/CMakeFiles/3.14.3/CompilerIdC/CMakeCCompilerId.c
rename to cmake-build-debug/CMakeFiles/3.13.2/CompilerIdC/CMakeCCompilerId.c
index e712b0d..bfc6ebb 100644
--- a/cmake-build-debug/CMakeFiles/3.14.3/CompilerIdC/CMakeCCompilerId.c
+++ b/cmake-build-debug/CMakeFiles/3.13.2/CompilerIdC/CMakeCCompilerId.c
@@ -172,15 +172,6 @@
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
-#elif defined(__ghs__)
-# define COMPILER_ID "GHS"
-/* __GHS_VERSION_NUMBER = VVVVRP */
-# ifdef __GHS_VERSION_NUMBER
-# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-# endif
-
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
@@ -190,21 +181,6 @@
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
-#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-# define COMPILER_ID "ARMCC"
-#if __ARMCC_VERSION >= 1000000
- /* __ARMCC_VERSION = VRRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#else
- /* __ARMCC_VERSION = VRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#endif
-
-
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
@@ -273,18 +249,28 @@
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
-# if defined(__VER__) && defined(__ICCARM__)
+# if defined(__VER__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# elif defined(__VER__) && defined(__ICCAVR__)
-# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
+#elif defined(__ARMCC_VERSION)
+# define COMPILER_ID "ARMCC"
+#if __ARMCC_VERSION >= 1000000
+ /* __ARMCC_VERSION = VRRPPPP */
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
+ # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
+ # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
+#else
+ /* __ARMCC_VERSION = VRPPPP */
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
+ # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
+ # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
+#endif
+
+
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
@@ -316,6 +302,9 @@
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
@@ -374,6 +363,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
@@ -433,14 +425,6 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
# define PLATFORM_ID
# endif
-#elif defined(__INTEGRITY)
-# if defined(INT_178B)
-# define PLATFORM_ID "Integrity178"
-
-# else /* regular Integrity */
-# define PLATFORM_ID "Integrity"
-# endif
-
#else /* unknown platform */
# define PLATFORM_ID
@@ -501,26 +485,6 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__ghs__)
-# if defined(__PPC64__)
-# define ARCHITECTURE_ID "PPC64"
-
-# elif defined(__ppc__)
-# define ARCHITECTURE_ID "PPC"
-
-# elif defined(__ARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__x86_64__)
-# define ARCHITECTURE_ID "x64"
-
-# elif defined(__i386__)
-# define ARCHITECTURE_ID "X86"
-
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
diff --git a/cmake-build-debug/CMakeFiles/3.13.2/CompilerIdC/a.out b/cmake-build-debug/CMakeFiles/3.13.2/CompilerIdC/a.out
new file mode 100755
index 0000000..3804dbe
Binary files /dev/null and b/cmake-build-debug/CMakeFiles/3.13.2/CompilerIdC/a.out differ
diff --git a/cmake-build-debug/CMakeFiles/3.14.3/CMakeDetermineCompilerABI_C.bin b/cmake-build-debug/CMakeFiles/3.14.3/CMakeDetermineCompilerABI_C.bin
deleted file mode 100755
index d6681da..0000000
Binary files a/cmake-build-debug/CMakeFiles/3.14.3/CMakeDetermineCompilerABI_C.bin and /dev/null differ
diff --git a/cmake-build-debug/CMakeFiles/3.14.3/CompilerIdC/a.out b/cmake-build-debug/CMakeFiles/3.14.3/CompilerIdC/a.out
deleted file mode 100755
index f81a831..0000000
Binary files a/cmake-build-debug/CMakeFiles/3.14.3/CompilerIdC/a.out and /dev/null differ
diff --git a/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake b/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake
index e5f7fc9..e756910 100644
--- a/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake
+++ b/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake
@@ -1,9 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Relative path conversion top directories.
-set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/students/s444440/CLionProjects/ProjektDSIK")
-set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug")
+set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/emile/DSIK_C")
+set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/emile/DSIK_C/cmake-build-debug")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
diff --git a/cmake-build-debug/CMakeFiles/CMakeError.log b/cmake-build-debug/CMakeFiles/CMakeError.log
new file mode 100644
index 0000000..e4a30fb
--- /dev/null
+++ b/cmake-build-debug/CMakeFiles/CMakeError.log
@@ -0,0 +1,33 @@
+Determining if the pthread_create exist failed with the following output:
+Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp
+
+Run Build Command:"/usr/bin/make" "cmTC_ea9db/fast"
+/usr/bin/make -f CMakeFiles/cmTC_ea9db.dir/build.make CMakeFiles/cmTC_ea9db.dir/build
+make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+Building C object CMakeFiles/cmTC_ea9db.dir/CheckSymbolExists.c.o
+/usr/bin/cc -std=gnu11 -o CMakeFiles/cmTC_ea9db.dir/CheckSymbolExists.c.o -c /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c
+Linking C executable cmTC_ea9db
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ea9db.dir/link.txt --verbose=1
+/usr/bin/cc CMakeFiles/cmTC_ea9db.dir/CheckSymbolExists.c.o -o cmTC_ea9db
+/usr/bin/ld: CMakeFiles/cmTC_ea9db.dir/CheckSymbolExists.c.o: in function `main':
+CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
+collect2: error: ld returned 1 exit status
+make[1]: *** [CMakeFiles/cmTC_ea9db.dir/build.make:87: cmTC_ea9db] Error 1
+make[1]: Leaving directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+make: *** [Makefile:121: cmTC_ea9db/fast] Error 2
+
+File /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
+/* */
+#include
+
+int main(int argc, char** argv)
+{
+ (void)argv;
+#ifndef pthread_create
+ return ((int*)(&pthread_create))[argc];
+#else
+ (void)argc;
+ return 0;
+#endif
+}
+
diff --git a/cmake-build-debug/CMakeFiles/CMakeOutput.log b/cmake-build-debug/CMakeFiles/CMakeOutput.log
index 5f5efb7..df94b29 100644
--- a/cmake-build-debug/CMakeFiles/CMakeOutput.log
+++ b/cmake-build-debug/CMakeFiles/CMakeOutput.log
@@ -1,4 +1,4 @@
-The system is: Linux - 4.15.0-54-generic - x86_64
+The system is: Linux - 4.18.0-13-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
@@ -10,167 +10,80 @@ The output was:
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
-The C compiler identification is GNU, found in "/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/3.14.3/CompilerIdC/a.out"
+The C compiler identification is GNU, found in "/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/3.13.2/CompilerIdC/a.out"
Determining if the C compiler works passed with the following output:
-Change Dir: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp
+Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp
-Run Build Command(s):/usr/bin/make cmTC_7aea5/fast
-/usr/bin/make -f CMakeFiles/cmTC_7aea5.dir/build.make CMakeFiles/cmTC_7aea5.dir/build
-make[1]: Entering directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
-Building C object CMakeFiles/cmTC_7aea5.dir/testCCompiler.c.o
-/usr/bin/cc -o CMakeFiles/cmTC_7aea5.dir/testCCompiler.c.o -c /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
-Linking C executable cmTC_7aea5
-/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7aea5.dir/link.txt --verbose=1
-/usr/bin/cc CMakeFiles/cmTC_7aea5.dir/testCCompiler.c.o -o cmTC_7aea5
-make[1]: Leaving directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
+Run Build Command:"/usr/bin/make" "cmTC_b7017/fast"
+/usr/bin/make -f CMakeFiles/cmTC_b7017.dir/build.make CMakeFiles/cmTC_b7017.dir/build
+make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+Building C object CMakeFiles/cmTC_b7017.dir/testCCompiler.c.o
+/usr/bin/cc -o CMakeFiles/cmTC_b7017.dir/testCCompiler.c.o -c /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
+Linking C executable cmTC_b7017
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b7017.dir/link.txt --verbose=1
+/usr/bin/cc CMakeFiles/cmTC_b7017.dir/testCCompiler.c.o -o cmTC_b7017
+make[1]: Leaving directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
-Change Dir: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp
+Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp
-Run Build Command(s):/usr/bin/make cmTC_b5873/fast
-/usr/bin/make -f CMakeFiles/cmTC_b5873.dir/build.make CMakeFiles/cmTC_b5873.dir/build
-make[1]: Entering directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
-Building C object CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o
-/usr/bin/cc -v -o CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -c /opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeCCompilerABI.c
+Run Build Command:"/usr/bin/make" "cmTC_4633c/fast"
+/usr/bin/make -f CMakeFiles/cmTC_4633c.dir/build.make CMakeFiles/cmTC_4633c.dir/build
+make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+Building C object CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o
+/usr/bin/cc -o CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o -c /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeCCompilerABI.c
+Linking C executable cmTC_4633c
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4633c.dir/link.txt --verbose=1
+/usr/bin/cc -v CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o -o cmTC_4633c
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
+COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
+Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.2.0-7ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
-gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cci6lT1n.s
-GNU C11 (Ubuntu 7.4.0-1ubuntu1~18.04.1) version 7.4.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.4.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /usr/lib/gcc/x86_64-linux-gnu/7/include
- /usr/local/include
- /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed
- /usr/include/x86_64-linux-gnu
- /usr/include
-End of search list.
-GNU C11 (Ubuntu 7.4.0-1ubuntu1~18.04.1) version 7.4.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.4.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: fa57db1fe2d756b22d454aa8428fd3bd
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- as -v --64 -o CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o /tmp/cci6lT1n.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
-Linking C executable cmTC_b5873
-/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b5873.dir/link.txt --verbose=1
-/usr/bin/cc -v CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -o cmTC_b5873
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b5873' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccCT1wtq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_b5873 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b5873' '-mtune=generic' '-march=x86-64'
-make[1]: Leaving directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
-
-
-Parsed C implicit include dir info from above output: rv=done
- found start of include info
- found start of implicit include info
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- add: [/usr/local/include]
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- add: [/usr/include/x86_64-linux-gnu]
- add: [/usr/include]
- end of search list found
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- collapse include dir [/usr/local/include] ==> [/usr/local/include]
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
- collapse include dir [/usr/include] ==> [/usr/include]
- implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include]
+gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)
+COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/
+LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/
+COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4633c' '-mtune=generic' '-march=x86-64'
+ /usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccqQWqMu.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_4633c /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o
+COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4633c' '-mtune=generic' '-march=x86-64'
+make[1]: Leaving directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp]
+ ignore line: [Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp]
ignore line: []
- ignore line: [Run Build Command(s):/usr/bin/make cmTC_b5873/fast ]
- ignore line: [/usr/bin/make -f CMakeFiles/cmTC_b5873.dir/build.make CMakeFiles/cmTC_b5873.dir/build]
- ignore line: [make[1]: Entering directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp']
- ignore line: [Building C object CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o]
- ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -c /opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeCCompilerABI.c]
+ ignore line: [Run Build Command:"/usr/bin/make" "cmTC_4633c/fast"]
+ ignore line: [/usr/bin/make -f CMakeFiles/cmTC_4633c.dir/build.make CMakeFiles/cmTC_4633c.dir/build]
+ ignore line: [make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp']
+ ignore line: [Building C object CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o]
+ ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o -c /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeCCompilerABI.c]
+ ignore line: [Linking C executable cmTC_4633c]
+ ignore line: [/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4633c.dir/link.txt --verbose=1]
+ ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o -o cmTC_4633c ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
+ ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
+ ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.2.0-7ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
- ignore line: [gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) ]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cci6lT1n.s]
- ignore line: [GNU C11 (Ubuntu 7.4.0-1ubuntu1~18.04.1) version 7.4.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.4.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C11 (Ubuntu 7.4.0-1ubuntu1~18.04.1) version 7.4.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.4.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: fa57db1fe2d756b22d454aa8428fd3bd]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o /tmp/cci6lT1n.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [Linking C executable cmTC_b5873]
- ignore line: [/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b5873.dir/link.txt --verbose=1]
- ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -o cmTC_b5873 ]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b5873' '-mtune=generic' '-march=x86-64']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccCT1wtq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_b5873 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
+ ignore line: [gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1) ]
+ ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/]
+ ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4633c' '-mtune=generic' '-march=x86-64']
+ link line: [ /usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccqQWqMu.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_4633c /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o]
+ arg [/usr/lib/gcc/x86_64-linux-gnu/8/collect2] ==> ignore
arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccCT1wtq.res] ==> ignore
+ arg [/usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so] ==> ignore
+ arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/ccqQWqMu.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
@@ -189,19 +102,19 @@ Parsed C implicit link information from above output:
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
- arg [cmTC_b5873] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
+ arg [cmTC_4633c] ==> ignore
+ arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
+ arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o] ==> ignore
+ arg [/usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o] ==> ignore
+ arg [-L/usr/lib/gcc/x86_64-linux-gnu/8] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8]
+ arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu]
+ arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_b5873.dir/CMakeCCompilerABI.c.o] ==> ignore
+ arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..]
+ arg [CMakeFiles/cmTC_4633c.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
@@ -213,35 +126,35 @@ Parsed C implicit link information from above output:
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
+ arg [/usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o] ==> ignore
+ arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] ==> ignore
+ collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8] ==> [/usr/lib/gcc/x86_64-linux-gnu/8]
+ collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
+ collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
+ collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib]
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
+ implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
Detecting C [-std=c11] compiler features compiled with the following output:
-Change Dir: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp
+Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp
-Run Build Command(s):/usr/bin/make cmTC_a920d/fast
-/usr/bin/make -f CMakeFiles/cmTC_a920d.dir/build.make CMakeFiles/cmTC_a920d.dir/build
-make[1]: Entering directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
-Building C object CMakeFiles/cmTC_a920d.dir/feature_tests.c.o
-/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_a920d.dir/feature_tests.c.o -c /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/feature_tests.c
-Linking C executable cmTC_a920d
-/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a920d.dir/link.txt --verbose=1
-/usr/bin/cc CMakeFiles/cmTC_a920d.dir/feature_tests.c.o -o cmTC_a920d
-make[1]: Leaving directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
+Run Build Command:"/usr/bin/make" "cmTC_4731f/fast"
+/usr/bin/make -f CMakeFiles/cmTC_4731f.dir/build.make CMakeFiles/cmTC_4731f.dir/build
+make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+Building C object CMakeFiles/cmTC_4731f.dir/feature_tests.c.o
+/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_4731f.dir/feature_tests.c.o -c /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/feature_tests.c
+Linking C executable cmTC_4731f
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4731f.dir/link.txt --verbose=1
+/usr/bin/cc CMakeFiles/cmTC_4731f.dir/feature_tests.c.o -o cmTC_4731f
+make[1]: Leaving directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
@@ -251,17 +164,17 @@ make[1]: Leaving directory '/home/students/s444440/CLionProjects/ProjektDSIK/cma
Detecting C [-std=c99] compiler features compiled with the following output:
-Change Dir: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp
+Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp
-Run Build Command(s):/usr/bin/make cmTC_3b218/fast
-/usr/bin/make -f CMakeFiles/cmTC_3b218.dir/build.make CMakeFiles/cmTC_3b218.dir/build
-make[1]: Entering directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
-Building C object CMakeFiles/cmTC_3b218.dir/feature_tests.c.o
-/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_3b218.dir/feature_tests.c.o -c /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/feature_tests.c
-Linking C executable cmTC_3b218
-/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3b218.dir/link.txt --verbose=1
-/usr/bin/cc CMakeFiles/cmTC_3b218.dir/feature_tests.c.o -o cmTC_3b218
-make[1]: Leaving directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
+Run Build Command:"/usr/bin/make" "cmTC_8f389/fast"
+/usr/bin/make -f CMakeFiles/cmTC_8f389.dir/build.make CMakeFiles/cmTC_8f389.dir/build
+make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+Building C object CMakeFiles/cmTC_8f389.dir/feature_tests.c.o
+/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_8f389.dir/feature_tests.c.o -c /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/feature_tests.c
+Linking C executable cmTC_8f389
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f389.dir/link.txt --verbose=1
+/usr/bin/cc CMakeFiles/cmTC_8f389.dir/feature_tests.c.o -o cmTC_8f389
+make[1]: Leaving directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
@@ -271,20 +184,34 @@ make[1]: Leaving directory '/home/students/s444440/CLionProjects/ProjektDSIK/cma
Detecting C [-std=c90] compiler features compiled with the following output:
-Change Dir: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp
+Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp
-Run Build Command(s):/usr/bin/make cmTC_5546f/fast
-/usr/bin/make -f CMakeFiles/cmTC_5546f.dir/build.make CMakeFiles/cmTC_5546f.dir/build
-make[1]: Entering directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
-Building C object CMakeFiles/cmTC_5546f.dir/feature_tests.c.o
-/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_5546f.dir/feature_tests.c.o -c /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/feature_tests.c
-Linking C executable cmTC_5546f
-/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5546f.dir/link.txt --verbose=1
-/usr/bin/cc CMakeFiles/cmTC_5546f.dir/feature_tests.c.o -o cmTC_5546f
-make[1]: Leaving directory '/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/CMakeTmp'
+Run Build Command:"/usr/bin/make" "cmTC_41d24/fast"
+/usr/bin/make -f CMakeFiles/cmTC_41d24.dir/build.make CMakeFiles/cmTC_41d24.dir/build
+make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+Building C object CMakeFiles/cmTC_41d24.dir/feature_tests.c.o
+/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_41d24.dir/feature_tests.c.o -c /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/feature_tests.c
+Linking C executable cmTC_41d24
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_41d24.dir/link.txt --verbose=1
+/usr/bin/cc CMakeFiles/cmTC_41d24.dir/feature_tests.c.o -o cmTC_41d24
+make[1]: Leaving directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros
+Determining if the include file pthread.h exists passed with the following output:
+Change Dir: /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp
+
+Run Build Command:"/usr/bin/make" "cmTC_a3fc9/fast"
+/usr/bin/make -f CMakeFiles/cmTC_a3fc9.dir/build.make CMakeFiles/cmTC_a3fc9.dir/build
+make[1]: Entering directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+Building C object CMakeFiles/cmTC_a3fc9.dir/CheckIncludeFile.c.o
+/usr/bin/cc -std=gnu11 -o CMakeFiles/cmTC_a3fc9.dir/CheckIncludeFile.c.o -c /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp/CheckIncludeFile.c
+Linking C executable cmTC_a3fc9
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a3fc9.dir/link.txt --verbose=1
+/usr/bin/cc CMakeFiles/cmTC_a3fc9.dir/CheckIncludeFile.c.o -o cmTC_a3fc9
+make[1]: Leaving directory '/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeTmp'
+
+
diff --git a/cmake-build-debug/CMakeFiles/Makefile.cmake b/cmake-build-debug/CMakeFiles/Makefile.cmake
index 8e2ea0e..d069176 100644
--- a/cmake-build-debug/CMakeFiles/Makefile.cmake
+++ b/cmake-build-debug/CMakeFiles/Makefile.cmake
@@ -1,5 +1,5 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
@@ -8,27 +8,25 @@ set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"../CMakeLists.txt"
- "CMakeFiles/3.14.3/CMakeCCompiler.cmake"
- "CMakeFiles/3.14.3/CMakeSystem.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeCInformation.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeCommonLanguageInclude.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeFindCodeBlocks.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeGenericSystem.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeInitializeConfigs.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeLanguageInformation.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeSystemSpecificInformation.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/CMakeSystemSpecificInitialize.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Compiler/GNU-C.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Compiler/GNU.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Internal/CMakeCheckCompilerFlag.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Platform/Linux-GNU-C.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Platform/Linux-GNU.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Platform/Linux.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/Platform/UnixPaths.cmake"
- "/opt/clion/2019.1.4/bin/cmake/linux/share/cmake-3.14/Modules/ProcessorCount.cmake"
+ "CMakeFiles/3.13.2/CMakeCCompiler.cmake"
+ "CMakeFiles/3.13.2/CMakeSystem.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeCInformation.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeCommonLanguageInclude.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeFindCodeBlocks.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeGenericSystem.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeInitializeConfigs.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeLanguageInformation.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeSystemSpecificInformation.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/CMakeSystemSpecificInitialize.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/Compiler/GNU-C.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/Compiler/GNU.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/Platform/Linux-GNU-C.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/Platform/Linux-GNU.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/Platform/Linux.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/Platform/UnixPaths.cmake"
+ "/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/share/cmake-3.13/Modules/ProcessorCount.cmake"
)
# The corresponding makefile is:
diff --git a/cmake-build-debug/CMakeFiles/Makefile2 b/cmake-build-debug/CMakeFiles/Makefile2
index de01b2e..5104a3a 100644
--- a/cmake-build-debug/CMakeFiles/Makefile2
+++ b/cmake-build-debug/CMakeFiles/Makefile2
@@ -1,5 +1,5 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Default target executed when no arguments are given to make.
default_target: all
@@ -50,19 +50,19 @@ cmake_force:
SHELL = /bin/sh
# The CMake executable.
-CMAKE_COMMAND = /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake
+CMAKE_COMMAND = /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake
# The command to remove a file.
-RM = /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E remove -f
+RM = /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/students/s444440/CLionProjects/ProjektDSIK
+CMAKE_SOURCE_DIR = /home/emile/DSIK_C
# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug
+CMAKE_BINARY_DIR = /home/emile/DSIK_C/cmake-build-debug
#=============================================================================
# Target rules for target CMakeFiles/ProjektDSIK.dir
@@ -71,7 +71,7 @@ CMAKE_BINARY_DIR = /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-
CMakeFiles/ProjektDSIK.dir/all:
$(MAKE) -f CMakeFiles/ProjektDSIK.dir/build.make CMakeFiles/ProjektDSIK.dir/depend
$(MAKE) -f CMakeFiles/ProjektDSIK.dir/build.make CMakeFiles/ProjektDSIK.dir/build
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles --progress-num=1,2 "Built target ProjektDSIK"
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/emile/DSIK_C/cmake-build-debug/CMakeFiles --progress-num=1,2 "Built target ProjektDSIK"
.PHONY : CMakeFiles/ProjektDSIK.dir/all
# Include target in all.
@@ -81,9 +81,9 @@ all: CMakeFiles/ProjektDSIK.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/ProjektDSIK.dir/rule: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles 2
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/emile/DSIK_C/cmake-build-debug/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ProjektDSIK.dir/all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles 0
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/emile/DSIK_C/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/ProjektDSIK.dir/rule
# Convenience name for target.
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/C.includecache b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/C.includecache
index 0e3d73a..9bcf79a 100644
--- a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/C.includecache
+++ b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/C.includecache
@@ -6,7 +6,7 @@
#IncludeRegexTransform:
-/home/students/s444440/CLionProjects/ProjektDSIK/EasySockets.h
+/home/emile/DSIK_C/EasySockets.h
stdio.h
-
stdlib.h
@@ -26,17 +26,27 @@ arpa/inet.h
netdb.h
-
-/home/students/s444440/CLionProjects/ProjektDSIK/Game.h
+/home/emile/DSIK_C/Game.h
LinkedList.h
-/home/students/s444440/CLionProjects/ProjektDSIK/LinkedList.h
+/home/emile/DSIK_C/LinkedList.h
-/home/students/s444440/CLionProjects/ProjektDSIK/LinkedList.h
+/home/emile/DSIK_C/LinkedList.h
stdio.h
-
stdlib.h
-
-/home/students/s444440/CLionProjects/ProjektDSIK/main.c
+/home/emile/DSIK_C/Player.h
+memory.h
+-
+stdlib.h
+-
+time.h
+-
+stdbool.h
+-
+
+/home/emile/DSIK_C/main.c
stdio.h
-
stdlib.h
@@ -55,10 +65,14 @@ arpa/inet.h
-
netdb.h
-
+pthread.h
+-
EasySockets.h
-/home/students/s444440/CLionProjects/ProjektDSIK/EasySockets.h
+/home/emile/DSIK_C/EasySockets.h
Game.h
-/home/students/s444440/CLionProjects/ProjektDSIK/Game.h
+/home/emile/DSIK_C/Game.h
LinkedList.h
-/home/students/s444440/CLionProjects/ProjektDSIK/LinkedList.h
+/home/emile/DSIK_C/LinkedList.h
+Player.h
+/home/emile/DSIK_C/Player.h
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/DependInfo.cmake b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/DependInfo.cmake
index daa56ec..f571131 100644
--- a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/DependInfo.cmake
+++ b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/DependInfo.cmake
@@ -4,7 +4,7 @@ set(CMAKE_DEPENDS_LANGUAGES
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_C
- "/home/students/s444440/CLionProjects/ProjektDSIK/main.c" "/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/main.c.o"
+ "/home/emile/DSIK_C/main.c" "/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/main.c.o"
)
set(CMAKE_C_COMPILER_ID "GNU")
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/build.make b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/build.make
index 76186bd..2b04828 100644
--- a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/build.make
+++ b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/build.make
@@ -1,5 +1,5 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
@@ -34,19 +34,19 @@ cmake_force:
SHELL = /bin/sh
# The CMake executable.
-CMAKE_COMMAND = /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake
+CMAKE_COMMAND = /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake
# The command to remove a file.
-RM = /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E remove -f
+RM = /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/students/s444440/CLionProjects/ProjektDSIK
+CMAKE_SOURCE_DIR = /home/emile/DSIK_C
# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug
+CMAKE_BINARY_DIR = /home/emile/DSIK_C/cmake-build-debug
# Include any dependencies generated for this target.
include CMakeFiles/ProjektDSIK.dir/depend.make
@@ -59,16 +59,16 @@ include CMakeFiles/ProjektDSIK.dir/flags.make
CMakeFiles/ProjektDSIK.dir/main.c.o: CMakeFiles/ProjektDSIK.dir/flags.make
CMakeFiles/ProjektDSIK.dir/main.c.o: ../main.c
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/ProjektDSIK.dir/main.c.o"
- /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ProjektDSIK.dir/main.c.o -c /home/students/s444440/CLionProjects/ProjektDSIK/main.c
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/emile/DSIK_C/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/ProjektDSIK.dir/main.c.o"
+ /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ProjektDSIK.dir/main.c.o -c /home/emile/DSIK_C/main.c
CMakeFiles/ProjektDSIK.dir/main.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ProjektDSIK.dir/main.c.i"
- /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/students/s444440/CLionProjects/ProjektDSIK/main.c > CMakeFiles/ProjektDSIK.dir/main.c.i
+ /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/emile/DSIK_C/main.c > CMakeFiles/ProjektDSIK.dir/main.c.i
CMakeFiles/ProjektDSIK.dir/main.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ProjektDSIK.dir/main.c.s"
- /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/students/s444440/CLionProjects/ProjektDSIK/main.c -o CMakeFiles/ProjektDSIK.dir/main.c.s
+ /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/emile/DSIK_C/main.c -o CMakeFiles/ProjektDSIK.dir/main.c.s
# Object files for target ProjektDSIK
ProjektDSIK_OBJECTS = \
@@ -80,7 +80,7 @@ ProjektDSIK_EXTERNAL_OBJECTS =
ProjektDSIK: CMakeFiles/ProjektDSIK.dir/main.c.o
ProjektDSIK: CMakeFiles/ProjektDSIK.dir/build.make
ProjektDSIK: CMakeFiles/ProjektDSIK.dir/link.txt
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable ProjektDSIK"
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/emile/DSIK_C/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable ProjektDSIK"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/ProjektDSIK.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
@@ -93,6 +93,6 @@ CMakeFiles/ProjektDSIK.dir/clean:
.PHONY : CMakeFiles/ProjektDSIK.dir/clean
CMakeFiles/ProjektDSIK.dir/depend:
- cd /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/students/s444440/CLionProjects/ProjektDSIK /home/students/s444440/CLionProjects/ProjektDSIK /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/DependInfo.cmake --color=$(COLOR)
+ cd /home/emile/DSIK_C/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/emile/DSIK_C /home/emile/DSIK_C /home/emile/DSIK_C/cmake-build-debug /home/emile/DSIK_C/cmake-build-debug /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/ProjektDSIK.dir/depend
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.internal b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.internal
index c1372f2..3e6b8a1 100644
--- a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.internal
+++ b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.internal
@@ -1,8 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
CMakeFiles/ProjektDSIK.dir/main.c.o
- /home/students/s444440/CLionProjects/ProjektDSIK/EasySockets.h
- /home/students/s444440/CLionProjects/ProjektDSIK/Game.h
- /home/students/s444440/CLionProjects/ProjektDSIK/LinkedList.h
- /home/students/s444440/CLionProjects/ProjektDSIK/main.c
+ /home/emile/DSIK_C/EasySockets.h
+ /home/emile/DSIK_C/Game.h
+ /home/emile/DSIK_C/LinkedList.h
+ /home/emile/DSIK_C/Player.h
+ /home/emile/DSIK_C/main.c
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.make b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.make
index 271ad3f..8f6fefc 100644
--- a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.make
+++ b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/depend.make
@@ -1,8 +1,9 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
CMakeFiles/ProjektDSIK.dir/main.c.o: ../EasySockets.h
CMakeFiles/ProjektDSIK.dir/main.c.o: ../Game.h
CMakeFiles/ProjektDSIK.dir/main.c.o: ../LinkedList.h
+CMakeFiles/ProjektDSIK.dir/main.c.o: ../Player.h
CMakeFiles/ProjektDSIK.dir/main.c.o: ../main.c
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/flags.make b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/flags.make
index fe0a04a..78cff6a 100644
--- a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/flags.make
+++ b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/flags.make
@@ -1,8 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# compile C with /usr/bin/cc
-C_FLAGS = -g -std=gnu11
+C_FLAGS = -pthread -g -std=gnu11
C_DEFINES =
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/link.txt b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/link.txt
index b1bbeb3..02ac917 100644
--- a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/link.txt
+++ b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/link.txt
@@ -1 +1 @@
-/usr/bin/cc -g CMakeFiles/ProjektDSIK.dir/main.c.o -o ProjektDSIK
+/usr/bin/cc -pthread -g CMakeFiles/ProjektDSIK.dir/main.c.o -o ProjektDSIK
diff --git a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/main.c.o b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/main.c.o
index 9bb23da..23680f6 100644
Binary files a/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/main.c.o and b/cmake-build-debug/CMakeFiles/ProjektDSIK.dir/main.c.o differ
diff --git a/cmake-build-debug/CMakeFiles/TargetDirectories.txt b/cmake-build-debug/CMakeFiles/TargetDirectories.txt
index e099205..f89656d 100644
--- a/cmake-build-debug/CMakeFiles/TargetDirectories.txt
+++ b/cmake-build-debug/CMakeFiles/TargetDirectories.txt
@@ -1,3 +1,3 @@
-/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/rebuild_cache.dir
-/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/ProjektDSIK.dir
-/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/edit_cache.dir
+/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/rebuild_cache.dir
+/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/ProjektDSIK.dir
+/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/edit_cache.dir
diff --git a/cmake-build-debug/CMakeFiles/clion-log.txt b/cmake-build-debug/CMakeFiles/clion-log.txt
index 685f884..2ac7be6 100644
--- a/cmake-build-debug/CMakeFiles/clion-log.txt
+++ b/cmake-build-debug/CMakeFiles/clion-log.txt
@@ -1,4 +1,9 @@
-/opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/students/s444440/CLionProjects/ProjektDSIK
--- Configuring done
--- Generating done
--- Build files have been written to: /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug
+/home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/emile/DSIK_C
+CMake Error at CMakeLists.txt:5 (target_link_libraries):
+ Cannot specify link libraries for target "pthread" which is not built by
+ this project.
+
+
+-- Configuring incomplete, errors occurred!
+See also "/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeOutput.log".
+See also "/home/emile/DSIK_C/cmake-build-debug/CMakeFiles/CMakeError.log".
diff --git a/cmake-build-debug/CMakeFiles/feature_tests.bin b/cmake-build-debug/CMakeFiles/feature_tests.bin
index 44a6542..48b3d51 100755
Binary files a/cmake-build-debug/CMakeFiles/feature_tests.bin and b/cmake-build-debug/CMakeFiles/feature_tests.bin differ
diff --git a/cmake-build-debug/Makefile b/cmake-build-debug/Makefile
index 78ce778..eed27bb 100644
--- a/cmake-build-debug/Makefile
+++ b/cmake-build-debug/Makefile
@@ -1,5 +1,5 @@
# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.14
+# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Default target executed when no arguments are given to make.
default_target: all
@@ -39,19 +39,19 @@ cmake_force:
SHELL = /bin/sh
# The CMake executable.
-CMAKE_COMMAND = /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake
+CMAKE_COMMAND = /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake
# The command to remove a file.
-RM = /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E remove -f
+RM = /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/students/s444440/CLionProjects/ProjektDSIK
+CMAKE_SOURCE_DIR = /home/emile/DSIK_C
# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug
+CMAKE_BINARY_DIR = /home/emile/DSIK_C/cmake-build-debug
#=============================================================================
# Targets provided globally by CMake.
@@ -59,7 +59,7 @@ CMAKE_BINARY_DIR = /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
- /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+ /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
@@ -70,7 +70,7 @@ rebuild_cache/fast: rebuild_cache
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
- /opt/clion/2019.1.4/bin/cmake/linux/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
+ /home/emile/Downloads/clion-2018.3.3/bin/cmake/linux/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
@@ -80,9 +80,9 @@ edit_cache/fast: edit_cache
# The main all target
all: cmake_check_build_system
- $(CMAKE_COMMAND) -E cmake_progress_start /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles/progress.marks
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/emile/DSIK_C/cmake-build-debug/CMakeFiles /home/emile/DSIK_C/cmake-build-debug/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
- $(CMAKE_COMMAND) -E cmake_progress_start /home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/CMakeFiles 0
+ $(CMAKE_COMMAND) -E cmake_progress_start /home/emile/DSIK_C/cmake-build-debug/CMakeFiles 0
.PHONY : all
# The main clean target
diff --git a/cmake-build-debug/ProjektDSIK b/cmake-build-debug/ProjektDSIK
index 02a892e..bbb2d1f 100755
Binary files a/cmake-build-debug/ProjektDSIK and b/cmake-build-debug/ProjektDSIK differ
diff --git a/cmake-build-debug/ProjektDSIK.cbp b/cmake-build-debug/ProjektDSIK.cbp
index 1a75c44..9aa2542 100644
--- a/cmake-build-debug/ProjektDSIK.cbp
+++ b/cmake-build-debug/ProjektDSIK.cbp
@@ -8,89 +8,92 @@
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
+
-
+
+
+
+
diff --git a/cmake-build-debug/cmake_install.cmake b/cmake-build-debug/cmake_install.cmake
index e883e6e..601eaab 100644
--- a/cmake-build-debug/cmake_install.cmake
+++ b/cmake-build-debug/cmake_install.cmake
@@ -1,4 +1,4 @@
-# Install script for directory: /home/students/s444440/CLionProjects/ProjektDSIK
+# Install script for directory: /home/emile/DSIK_C
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
@@ -45,5 +45,5 @@ endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
-file(WRITE "/home/students/s444440/CLionProjects/ProjektDSIK/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}"
+file(WRITE "/home/emile/DSIK_C/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
diff --git a/main.c b/main.c
index 80b73c8..d3f26f3 100644
--- a/main.c
+++ b/main.c
@@ -7,22 +7,71 @@
#include
#include
#include
+#include
#include "EasySockets.h"
#include "Game.h"
#include "LinkedList.h"
+#include "Player.h"
+
+bool wait =false;
+void* WaitForInput(){
+ if (wait) {char c = getchar();}
+ wait=false;
+}
+int socket_id;
+struct sockaddr_in incoming;
+void* JoiningThread(){
+ while (true) {
+ int a = AcceptClient(socket_id, &incoming);
+ Player* p = CreatePlayer("tttt", a, incoming);
+ AddPlayerToList(p);
+ printf("Players: %d/200", GetPlayersCount());
+ }
+ return 0;
+}
+void InterpretReceivedSignal(Player* p, const char* buffer, int len){
+
+}
+void* PlayerDataReaderThread(void* arg){
+ char buffer[1000];
+ Player* p = (Player*)arg;
+ printf("%d", p->points);
+ socklen_t size = sizeof(p->incoming);
+ recvfrom(socket_id, buffer, 1000, 0, (struct sockaddr*)&p->incoming, &size );
+
+}
+int BeginGame(){
+ //Due to security, we use recvfrom instead of regular recv
+ for (int i=0; i<200; i++) {
+ if (playerConnected[i]) {
+ Player* p = players[i];
+ printf("\n.");
+ pthread_create(&p->threadId, NULL, PlayerDataReaderThread, p);
+ }
+ }
+
+}
+
int main() {
+ InitPlayers();
setvbuf(stdout, NULL, _IONBF,0);
- int socket_id = CreateSocket();
+ socket_id = CreateSocket();
//Connect(socket_id, "0.0.0.0", 12345);
int c = CreateServer(socket_id, 1234);
printf("%d",c);
- struct sockaddr_in incoming;
- int a = AcceptClient(socket_id, &incoming);
- Game* g = CreateNewGame();
- g->id=lastGameIndex;
- g->name="sadasd";
- printf("%d",a);
+ printf("Waiting for players to connect. \n Press any key to start...");
+ wait=true;
+ pthread_t thread_id;
+ pthread_create(&thread_id, NULL, JoiningThread, NULL);
+ getchar();
+ printf("...");
+ Player* p = CreatePlayer("test", 15, incoming);
+ AddPlayerToList(p);
+ pthread_cancel(thread_id);
+ printf("Press any key to close the server");
+ BeginGame();
+ getchar();
return 0;
}
\ No newline at end of file