doxygen build (current git version) fails "suddenly" (bison problem)

"Jens Schleusener" <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <[email protected]>
Hi,

just a small remark: I tried to compile the current git version of doxygen 
under Linux (openSUSE Leap 42.3) and got "suddenly" (before it works many 
times without any problems) the following error:

  [ 23%] Building CXX object vhdlparser/CMakeFiles/vhdlparser.dir/VhdlParserIF.cpp.o
  [ 24%] Linking CXX static library ../lib/libvhdlparser.a
  [ 24%] Built target vhdlparser
  [ 24%] [BISON][constexp] Building parser with bison 2.7
  /usr/bin/bison: invalid argument ‘deprecated’ for ‘--warnings’
  Valid arguments are:
    - ‘none            - no warnings’
    - ‘midrule-values  - unset or unused midrule values’
    - ‘yacc            - incompatibilities with POSIX Yacc’
    - ‘conflicts-sr    - S/R conflicts’
    - ‘conflicts-rr    - R/R conflicts’
    - ‘other           - all other warnings’
    - ‘all             - all of the above’
    - ‘error           - warnings are errors’
  src/CMakeFiles/_doxygen.dir/build.make:303: recipe for target 'generated_src/ce_parse.cpp' failed

I don't have clue about "cmake" but that problem may eventually be caused 
by a recent change in src/CMakeLists.txt:

  66c66
  <     COMMAND ${BISON_EXECUTABLE} -l -d -p ce_parsexpYY
  ${CMAKE_SOURCE_DIR}/src/constexp.y -o ce_parse.c
  ---
  >     COMMAND ${BISON_EXECUTABLE} -l -d -p ce_parsexpYY -Wno-deprecated
  ${CMAKE_SOURCE_DIR}/src/constexp.y -o ce_parse.c
  122c122
  < BISON_TARGET(constexp      constexp.y
  ${GENERATED_SRC}/ce_parse.cpp       COMPILE_FLAGS "${YACC_FLAGS}")
  ---
  > BISON_TARGET(constexp      constexp.y
  ${GENERATED_SRC}/ce_parse.cpp       COMPILE_FLAGS "-Wno-deprecated
  ${YACC_FLAGS}")

So just for testing I replaced that file with the old one (9718 bytes,
Aug 21 11:59) and the build process runs well.

Maybe the version of the used "bison" program (2.7) is too old
(current version is 3.0.4).

Regards

Jens


-- 
Dr. Jens Schleusener
Schillerstr. 49
D-37083 Göttingen
[email protected]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.