|
From: quzar <qu...@us...> - 2024-09-21 21:59:45
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, no_c_std_for_cpp has been created
at 66112d10551107a433fe2442a4b63957c1250034 (commit)
- Log -----------------------------------------------------------------
commit 66112d10551107a433fe2442a4b63957c1250034
Author: Falco Girgis <gyr...@gm...>
Date: Tue Sep 10 23:39:48 2024 -0500
Fixed KOS's Makefile.rules.
They were incorrect and were causing really annoying warnings on other
projects, such as GTA3, where C++ was warning that "-std=gnu17" is only
available in C++.
How does this happen? Because our Makefile.rules file was INCORRECTLY
concatenating CFLAGS and CXXFLAGS and sending them to the C++ compiler.
This is incorrect. Those two are separate and should go to their
respective compilers only; however, CPPFLAGS is supposed to be common,
shared, preprocessor flags that go to both.
- Removed CFLAGS from C++ rules
- Added CPPFLAGS to C, C++, ObjC, and ObjC++ rules
-----------------------------------------------------------------------
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|