[DEV] error on the visibility of constructor

This commit is contained in:
Edouard DUPIN 2015-01-14 21:10:23 +01:00
parent d528a68c14
commit dd2c3b15e9
3 changed files with 6 additions and 8 deletions

View File

@ -21,11 +21,13 @@ before_script:
- cd ewol; git submodule update; cd .. - cd ewol; git submodule update; cd ..
- cd ewol; git submodule foreach git checkout master; cd .. - cd ewol; git submodule foreach git checkout master; cd ..
- cd ewol; git submodule foreach git pull; cd .. - cd ewol; git submodule foreach git pull; cd ..
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
#install Gcc to have lisstdc++ 4.8 & gcc 4.8 #install Gcc to have lisstdc++ 4.8 & gcc 4.8
install: install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq libstdc++-4.9-dev
- sudo apt-get install -qq g++-4.8 - sudo apt-get install -qq g++-4.8
- sudo rm /usr/bin/gcc /usr/bin/g++ - sudo rm /usr/bin/gcc /usr/bin/g++
- sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc - sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
@ -33,12 +35,8 @@ install:
# build sequence with Lutin : # build sequence with Lutin :
script: script:
- if [ "$CXX" == "clang++" ]; then ./ewol/build/lutin.py -C -P -cclang -mdebug -p ejson_test; fi - ./ewol/build/lutin.py -C -P -c$BUILDER -mdebug -p ejson_test
- if [ "$CXX" == "g++" ]; then ./ewol/build/lutin.py -C -P -cgcc -mdebug -p ejson_test; fi - ./out/Linux_x86_64/debug/staging/$BUILDER/ejson_test/usr/bin/ejson_test
after_script:
- if [ "$CXX" == "clang++" ]; then ./out/Linux_x86_64/debug/staging/clang/ejson_test/usr/bin/ejson_test; fi
- if [ "$CXX" == "g++" ]; then ./out/Linux_x86_64/debug/staging/gcc/ejson_test/usr/bin/ejson_test; fi
#send e-mail on compilation result: #send e-mail on compilation result:
notifications: notifications:

View File

@ -14,7 +14,7 @@
namespace ejson { namespace ejson {
class Number : public ejson::Value { class Number : public ejson::Value {
public: protected:
/** /**
* @brief basic element of a xml structure * @brief basic element of a xml structure
*/ */

View File

@ -16,7 +16,7 @@
namespace ejson { namespace ejson {
class Object : public ejson::Value { class Object : public ejson::Value {
public: protected:
/** /**
* @brief basic element of a xml structure * @brief basic element of a xml structure
*/ */