待辦事項 #40291

FlexLexer.h placed in incorrect directory

啟用日期: 2020-03-29 23:57 最後更新: 2020-03-30 03:12

回報者:
負責人:
(無)
類型:
狀態:
關閉
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
Invalid
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

Most include files appear to go into /mingw64/include or /mingw32/include, however flex installs its include files to /usr/include/. This path is not part of the gcc default include path, as evidenced by echo | gcc -E -Wp,-v -

flex should install its include files to /mingw64/include to avoid having to add -I/usr/include to the build.

$ gcc -v Using built-in specs. COLLECT_GCC=D:\Software\msys64\mingw64\bin\gcc.exe COLLECT_LTO_WRAPPER=D:/Software/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.3.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-9.3.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++ --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --enable-plugin --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev1, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld Thread model: posix gcc version 9.3.0 (Rev1, Built by MSYS2 project)

smcro@Cuboid MINGW64 ~ $ echo | gcc -E -Wp,-v - # 1 "<stdin>" # 1 "<built-in>" # 1 "<command-line>" # 1 "<stdin>" ignoring duplicate directory "D:/Software/msys64/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/9.3.0/include" ignoring nonexistent directory "D:/msys64/mingw64/include" ignoring nonexistent directory "/mingw64/include" ignoring duplicate directory "D:/Software/msys64/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/9.3.0/include-fixed" ignoring duplicate directory "D:/Software/msys64/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/9.3.0/../../../../x86_64-w64-mingw32/include" ignoring nonexistent directory "D:/msys64/mingw64/x86_64-w64-mingw32/include" #include "..." search starts here: #include <...> search starts here:

D:/Software/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.3.0/include D:/Software/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.3.0/../../../../include D:/Software/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.3.0/include-fixed D:/Software/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.3.0/../../../../x86_64-w64-mingw32/include

End of search list.

smcro@Cuboid MINGW64 ~ $

Ticket History (2/2 Histories)

2020-03-29 23:57 Updated by: xobs
  • New Ticket "FlexLexer.h placed in incorrect directory" created
2020-03-30 03:12 Updated by: keith
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from to Invalid
評語

gcc version 9.3.0 (Rev1, Built by MSYS2 project)

You are not using MinGW tools; (MSYS is a MinGW project, but MSYS2 is not). We cannot help you, so closing as invalid. See your own diagnostics:

--with-bugurl=https://sourceforge.net/projects/msys2

for correct reporting address ... it isn't here!

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入