Skip to content

Commit 2cfd055

Browse files
committed
Fix warnings in C++ test suite build
Change-Id: I41b4b751284635957b08f1b1b4e9956fbbf61976
1 parent 3b786bf commit 2cfd055

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

testcpp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
BUILD_DIR := ../build
2727
CONFIG_DIR := ../config
2828
LIB_DIR := ../lib
29-
INCLUDE_DIR := ../src/aocl_dtl ../src/base/flamec/include -I../config/x86_64-unknown-linux-gnu
29+
INCLUDE_DIR := ../src/aocl_dtl -I../src/base/flamec/include -I../config/x86_64-unknown-linux-gnu
3030
SRC_PATH := ../src
3131
HOST := $(shell sh $(BUILD_DIR)/ac-utils/config.guess)
3232
CONFIG_MK_FILE := $(CONFIG_DIR)/$(HOST)/config.mk

testcpp/src/libflame_test.hh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ extern "C"{
4343
#include "FLA_util_lapack_prototypes.h"
4444
}
4545

46+
#ifndef FLA_ENABLE_EXTERNAL_LAPACK_INTERFACES
4647
#define FLA_ENABLE_EXTERNAL_LAPACK_INTERFACES
48+
#endif
4749

4850
using namespace std;
4951
typedef int FLA_Error;

0 commit comments

Comments
 (0)