genesys: corrections to include file order.

minigtest.h has items that require the definitions in tests_printers.h.
Pre-GCC-12, this didn't seem to matter but GCC12 seems to have a
problem with this and requires the template definitions to have already
appeared.
This commit is contained in:
Ralph Little
2022-10-02 18:14:25 -07:00
parent 9a4fa286a8
commit 8948192a99
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -18,10 +18,10 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "minigtest.h"
#define DEBUG_DECLARE_ONLY
#include "minigtest.h"
size_t s_num_successes = 0;
size_t s_num_failures = 0;
+1 -1
View File
@@ -21,8 +21,8 @@
#define DEBUG_DECLARE_ONLY
#include "tests.h"
#include "minigtest.h"
#include "tests_printers.h"
#include "minigtest.h"
#include "../../../backend/genesys/image.h"
#include "../../../backend/genesys/image_pipeline.h"
@@ -21,8 +21,8 @@
#define DEBUG_DECLARE_ONLY
#include "tests.h"
#include "minigtest.h"
#include "tests_printers.h"
#include "minigtest.h"
#include "../../../backend/genesys/image_pipeline.h"
+1 -1
View File
@@ -21,8 +21,8 @@
#define DEBUG_DECLARE_ONLY
#include "tests.h"
#include "minigtest.h"
#include "tests_printers.h"
#include "minigtest.h"
#include "../../../backend/genesys/low.h"
#include "../../../backend/genesys/enums.h"
@@ -21,8 +21,8 @@
#define DEBUG_DECLARE_ONLY
#include "tests.h"
#include "minigtest.h"
#include "tests_printers.h"
#include "minigtest.h"
#include "../../../backend/genesys/utilities.h"