https://bugs.kde.org/show_bug.cgi?id=374523

--- Comment #1 from Leslie Zhai <xiangzha...@gmail.com> ---
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_LIBDIR=lib
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
CMake Warning (dev) at kdev-pg/CMakeLists.txt:1 (PROJECT):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at examples/cc/CMakeLists.txt:2 (PROJECT):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at examples/cool/CMakeLists.txt:2 (PROJECT):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at examples/foolisp/CMakeLists.txt:1 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at examples/php/CMakeLists.txt:1 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.1.0)
 * Qt5Core
 * Qt5Test
 * Qt5 (required version >= 5.2.0)

-- Configuring done
-- Generating done
-- Build files have been written to: /data/project/kde/kdevelop-pg-qt/build
[zhaixiang@iSOFT build]$ make
Scanning dependencies of target kdev-pg-qt_automoc
[  1%] Automatic moc for target kdev-pg-qt
Generating moc compilation kdev-pg-qt_automoc.cpp
[  1%] Built target kdev-pg-qt_automoc
[  3%] Generating qrc_unidata.cpp
[  5%] Generating kdev-pg-parser.cc, kdev-pg-parser.hh
/data/project/kde/kdevelop-pg-qt/kdev-pg/kdev-pg-parser.yy: 警告: 197
shift/reduce conflicts [-Wconflicts-sr]
/data/project/kde/kdevelop-pg-qt/kdev-pg/kdev-pg-parser.yy: 警告: 24
reduce/reduce conflicts [-Wconflicts-rr]
[  7%] Generating kdev-pg-lexer.cc
Scanning dependencies of target kdev-pg-qt
[  9%] Building CXX object kdev-pg/CMakeFiles/kdev-pg-qt.dir/kdev-pg-lexer.cc.o
/data/project/kde/kdevelop-pg-qt/kdev-pg/kdev-pg-lexer.ll: ‘int yylex()’:
/data/project/kde/kdevelop-pg-qt/build/kdev-pg/kdev-pg-lexer.cc:1228:18:
Error:‘yymore_used_but_not_detected’ undefined

                  ^
/data/project/kde/kdevelop-pg-qt/kdev-pg/kdev-pg-lexer.ll:46:35: 附注:in
expansion of macro ‘yymore’
 #define YYMORE yymoreFlag = true; yymore();
                                   ^~~~~~
/data/project/kde/kdevelop-pg-qt/kdev-pg/kdev-pg-lexer.ll:255:12: 附注:in
expansion of macro ‘YYMORE’
   {Newline}               newline(); YYMORE;
            ^~~~~~
/data/project/kde/kdevelop-pg-qt/build/kdev-pg/kdev-pg-lexer.cc: 在全局域:
/data/project/kde/kdevelop-pg-qt/build/kdev-pg/kdev-pg-lexer.cc:2740:17:
警告:‘void yyunput(int, char*)’ defined but not used [-Wunused-function]

                 ^      
kdev-pg/CMakeFiles/kdev-pg-qt.dir/build.make:84: recipe for target
'kdev-pg/CMakeFiles/kdev-pg-qt.dir/kdev-pg-lexer.cc.o' failed
make[2]: *** [kdev-pg/CMakeFiles/kdev-pg-qt.dir/kdev-pg-lexer.cc.o] Error 1
CMakeFiles/Makefile2:1065: recipe for target
'kdev-pg/CMakeFiles/kdev-pg-qt.dir/all' failed
make[1]: *** [kdev-pg/CMakeFiles/kdev-pg-qt.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to