From 058564326b865b85588d035e0b0a487f2c449608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Fri, 24 Apr 2020 01:17:14 +0200 Subject: [PATCH 1/2] Update library and compiler versions in doxygen --- doxygen/compilation.dox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doxygen/compilation.dox b/doxygen/compilation.dox index ca0ae2f..93b7e10 100644 --- a/doxygen/compilation.dox +++ b/doxygen/compilation.dox @@ -30,7 +30,7 @@ Development is done with the following library versions: | Cairographics | GLib2 | GTK3 | | ------------- | ---------- | --------- | -| 1.17.3 | 2.60.6-1 | 3.24.10-1 | +| 1.17.2 | 2.64.2 | 3.24.18 | @section comp-instr Compilation Instructions @subsection linux-build General Linux Build Instruction @@ -47,7 +47,7 @@ Once cmake has finished, type make @endcode to build the program and - + @code make documentation @endcode @@ -59,7 +59,7 @@ The subfolder 'AUR' contains a PKGBUILD file to build an Archlinux/Pacman packag @subsection comp-warnings Compiler Warnings -The compiler will throw the following warnings. Compiled with GCC 8.2.1. +The compiler will throw the following warnings. Compiled with GCC 9.3.0. | Warning | Assessment | | ------- | ---------- | From f135b42d8ad39830f96d1e034dedd9d047aa555f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Mon, 29 Jun 2020 20:03:38 +0200 Subject: [PATCH 2/2] make clear we're not getting a return value from vector_2d_copy --- geometric/vector-operations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometric/vector-operations.c b/geometric/vector-operations.c index f3b0eb1..16580d8 100644 --- a/geometric/vector-operations.c +++ b/geometric/vector-operations.c @@ -65,7 +65,7 @@ void vector_2d_rotate(struct vector_2d *vec, double angle) sin_val = sin(angle); cos_val = cos(angle); - vector_2d_copy(&temp, vec); + (void)vector_2d_copy(&temp, vec); /* Apply rotation matrix */ vec->x = (cos_val * temp.x) - (sin_val * temp.y);