1. Scanning dependencies of target hermes2d-debug
  2. [ 47%] Building CXX object util/CMakeFiles/agros2d_util.dir/gui/lineeditdouble.cpp.o
  3. [ 48%] Building CXX object hermes/hermes2d/CMakeFiles/hermes2d-debug.dir/src/boundary_conditions/essential_boundary_conditions.cpp.o
  4. In file included from /home/budait/agros2d/hermes/hermes_common/include/hermes_common.h:48:0,
  5. from /home/budait/agros2d/hermes/hermes2d/include/boundary_conditions/../global.h:26,
  6. from /home/budait/agros2d/hermes/hermes2d/include/boundary_conditions/essential_boundary_conditions.h:23,
  7. from /home/budait/agros2d/hermes/hermes2d/src/boundary_conditions/essential_boundary_conditions.cpp:20:
  8. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:221:24: error: ‘INT_MAX’ was not declared in this scope
  9. int last(int idx = INT_MAX)
  10. ^
  11. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:239:24: error: ‘INT_MAX’ was not declared in this scope
  12. int prev(int idx = INT_MAX)
  13. ^
  14. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::first(int)’:
  15. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
  16. #define INVALID_IDX INT_MAX
  17. ^
  18. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:193:37: note: in expansion of macro ‘INVALID_IDX’
  19. if (index >= nitems) return INVALID_IDX;
  20. ^
  21. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::next(int)’:
  22. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
  23. #define INVALID_IDX INT_MAX
  24. ^
  25. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:210:37: note: in expansion of macro ‘INVALID_IDX’
  26. if (index >= nitems) return INVALID_IDX;
  27. ^
  28. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::last(int)’:
  29. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
  30. #define INVALID_IDX INT_MAX
  31. ^
  32. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:228:31: note: in expansion of macro ‘INVALID_IDX’
  33. if (index < 0) return INVALID_IDX;
  34. ^
  35. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h: In member function ‘int Hermes::Array<TYPE>::prev(int)’:
  36. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:25:26: error: ‘INT_MAX’ was not declared in this scope
  37. #define INVALID_IDX INT_MAX
  38. ^
  39. /home/budait/agros2d/hermes/hermes_common/include/data_structures/array.h:246:31: note: in expansion of macro ‘INVALID_IDX’
  40. if (index < 0) return INVALID_IDX;
  41. ^
  42. make[2]: *** [hermes/hermes2d/CMakeFiles/hermes2d-debug.dir/src/boundary_conditions/essential_boundary_conditions.cpp.o] Error 1