From f6e49b74766c9e7e3595739d23ef715e38c83da0 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Wed, 15 Jun 2022 14:56:52 -0400 Subject: [PATCH] add TODO about compiling with -pedantic --- Makefile | 2 +- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 66aef6e..4b94551 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ LIB := $(LIBDIR)/build/libTangerine.a CXX := g++ # NOTE: have to set -O or -O1 here to get warnings for uninitialized variables -CXXFLAGS := -std=c++11 -g -ggdb3 -O -Wall -Wuninitialized -pedantic \ +CXXFLAGS := -std=c++11 -g -ggdb3 -O -Wall -Wuninitialized \ -I$(LIBDIR)/include/ \ $(shell sdl2-config --cflags) LDFLAGS := $(shell sdl2-config --libs) -lGLEW -lGL diff --git a/src/main.cpp b/src/main.cpp index 7bb7259..76d463b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,6 +3,7 @@ * TODO: * - impulsive orbital maneuvers * - replace instances of glm:: with using directives + * - compile with '-pedantic' and fix macro warnings * - convert between satellite state vectors and orbital elements * - orbits with nu (true anom at T0) other than 0 degrees * - plane change maneuvers