- Scanning dependencies of target hermes2d-debug
- [ 47%] Building CXX object util/CMakeFiles/agros2d_util.dir/gui/lineeditdouble.cpp.o
- [ 48%] Building CXX object hermes/hermes2d/CMakeFiles/hermes2d-debug.dir/src/boundary_conditions/essential_boundary_conditions.cpp.o
- In file included from /home/budait/agros2d/hermes/hermes_common/include/hermes_common.h:48:0,
- from /home/budait/agros2d/hermes/hermes2d/include/boundary_conditions/../global.h:26,
- from /home/budait/agros2d/hermes/hermes2d/include/boundary_conditions/essential_boundary_conditions.h:23,
- from /home/budait/agros2d/hermes/hermes2d/src/boundary_conditions/essential_boundary_conditions.cpp:20:
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:221:24: error: ‘INT_MAX’ was not declared in this scope
- int last(int idx = INT_MAX)
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:239:24: error: ‘INT_MAX’ was not declared in this scope
- int prev(int idx = INT_MAX)
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::first(int)’:
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
- #define INVALID_IDX INT_MAX
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:193:37: note: in expansion of macro ‘INVALID_IDX’
- if (index >= nitems) return INVALID_IDX;
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::next(int)’:
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
- #define INVALID_IDX INT_MAX
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:210:37: note: in expansion of macro ‘INVALID_IDX’
- if (index >= nitems) return INVALID_IDX;
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::last(int)’:
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
- #define INVALID_IDX INT_MAX
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:228:31: note: in expansion of macro ‘INVALID_IDX’
- if (index < 0) return INVALID_IDX;
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::prev(int)’:
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
- #define INVALID_IDX INT_MAX
- ^
- /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:246:31: note: in expansion of macro ‘INVALID_IDX’
- if (index < 0) return INVALID_IDX;
- ^
- make[2]: *** [hermes/hermes2d/CMakeFiles/hermes2d-debug.dir/src/boundary_conditions/essential_boundary_conditions.cpp.o] Error 1