correct a test that differ between c++11 and c++98
This commit is contained in:
2
Makefile
2
Makefile
@@ -38,8 +38,8 @@ CC = c++
|
|||||||
EXT = cpp
|
EXT = cpp
|
||||||
|
|
||||||
CFLAGS = -Wall -Wextra -Werror $(INCLUDES)
|
CFLAGS = -Wall -Wextra -Werror $(INCLUDES)
|
||||||
#CFLAGS += -MMD -MP #see end-page note on header dependencie
|
|
||||||
#CFLAGS += -std=c++98
|
#CFLAGS += -std=c++98
|
||||||
|
#CFLAGS += -MMD -MP #see end-page note on header dependencie
|
||||||
#CFLAGS += -g3
|
#CFLAGS += -g3
|
||||||
|
|
||||||
CFLAGS_STL = $(CFLAGS)
|
CFLAGS_STL = $(CFLAGS)
|
||||||
|
|||||||
@@ -36,14 +36,6 @@ TEST_V(tests_vector_operator_assignation)
|
|||||||
std::cout << "Size of foo: " << int(foo.size()) << '\n';
|
std::cout << "Size of foo: " << int(foo.size()) << '\n';
|
||||||
std::cout << "Size of bar: " << int(bar.size()) << '\n';
|
std::cout << "Size of bar: " << int(bar.size()) << '\n';
|
||||||
|
|
||||||
|
|
||||||
// title
|
|
||||||
TITLE(more informations)
|
|
||||||
|
|
||||||
PRINT(foo);
|
|
||||||
|
|
||||||
PRINT(bar);
|
|
||||||
|
|
||||||
DELETE
|
DELETE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user