mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
fixed minor gcc comparison error in sandbox.cpp
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,7 +1,7 @@
|
|||||||
CPPFLAGS=-std=c++11 -I./include -Wall -Werror -g
|
CPPFLAGS=-std=c++11 -I./include -Wall -Werror -g
|
||||||
CC=clang++
|
CC=g++
|
||||||
|
|
||||||
all: unittests sandbox performance sandbox_rtti
|
all: unittests sandbox performance sandbox_rtti sandbox_json
|
||||||
|
|
||||||
sandbox: sandbox.cpp
|
sandbox: sandbox.cpp
|
||||||
${CC} sandbox.cpp -o sandbox ${CPPFLAGS}
|
${CC} sandbox.cpp -o sandbox ${CPPFLAGS}
|
||||||
@@ -24,4 +24,4 @@ doc:
|
|||||||
@doxygen ./doc/doxygen.cfg
|
@doxygen ./doc/doxygen.cfg
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm sandbox; rm unittests; rm performance; rm sandbox_rtti;
|
rm sandbox; rm unittests; rm performance; rm sandbox_rtti; rm sandbox_json;
|
||||||
|
|||||||
@@ -423,7 +423,7 @@ int main()
|
|||||||
|
|
||||||
std::array<int,5> arr;
|
std::array<int,5> arr;
|
||||||
iar( arr );
|
iar( arr );
|
||||||
for( size_t i = 0; i < 5; ++i )
|
for( int i = 0; i < 5; ++i )
|
||||||
assert( arr[i] == (i+1) );
|
assert( arr[i] == (i+1) );
|
||||||
|
|
||||||
Everything e;
|
Everything e;
|
||||||
|
|||||||
Reference in New Issue
Block a user