-
-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Major/must-be resolved issues
Issue 1: High amounts of warnings on clang
Compiling RGFW on Linux with clang and its options -std=c99 -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wvla -Wcast-align -Wcast-align=strict -Wswitch-enum -Wcast-align -Wstrict-overfl ow -Wstrict-prototypes -Wnested-externs -Wlogical-op -Wstrict-aliasing -Wredundant-decls -Wold-style-definition -fno-omit-frame-pointer -ffloat-store -fstrict-aliasing -Wformat=2 -Wformat-signedness -Wuninitialized -W init-self -Wunsafe-loop-optimizations -Wmissing-noreturn results in around 153 warnings. A lot of these warnings related to missing prototypes, signedness and portability issues. It's also worth mentioning that there are probably even more warnings when compiling under gcc and/or the -O3 flag.
Issue 2: High amounts of warnings on msvc
Compiling RGFW with cl and its options -nologo -std:c11 -Wall -wd4668 -wd4820 -wd5045 results in warnings in quite a few areas.
Issue 3: Smooth resize on Linux
Smooth resizing completely doesn't work on Linux. See the smooth resize example.
Issue 4: Dummy window sometimes appearing
Sometimes when compiling and running the gl33 example on Linux, a dummy window gets visibly created and immediately deleted, causing an ugly effect.
# Secondary issues
Issue 1: #pragma clang diagnostic ignored "-Wnullability-completeness"
At the beginning and end of the RGFW.h file, there are diagnostic warning checks for clang to ignore a specific warning. This is pretty bad code practice for a single header library.