mirror of
https://github.com/openharmony/third_party_backends.git
synced 2026-07-01 09:11:13 -04:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user