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

            Bug ID: 449999
           Summary: fetching includes breaks on strange characters
           Product: kdevelop
           Version: 5.6.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (old)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: adrian....@gmail.com
  Target Milestone: ---

While trying to solve the problem of having a parsing report of "No type named
'string_view' in namespace 'std' "
and setting in the project configuration -> Laguage support -> C/C++ parser c++
profile to c++17 and Compiler for path = GCC 
i started the kdevelop in the terminal and i seen this:
```
python code checker error: "The `pycodestyle` (previously `pep8`) module is not
installed."
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "gcc" "Using built-in
specs.\nCOLLECT_GCC=/usr/bin/gcc\nOFFLOAD_TARGET_NAMES=nvptx-none\nOFFLOAD_TARGET_DEFAULT=1\nTarget:
x86_64-redhat-linux\nConfigured with: ../configure --enable-bootstrap
--enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --enable-multilib
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array
--with-isl=/builddir/build/BUILD/gcc-11.2.1-20211203/obj-x86_64-redhat-linux/isl-install
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --enable-cet --with-tune=generic
--with-arch_32=i686 --build=x86_64-redhat-linux
--with-build-config=bootstrap-lto --enable-link-serialization=1\nThread model:
posix\nSupported LTO compression algorithms: zlib zstd\ngcc version 11.2.1
20211203 (Red Hat 11.2.1-7) (GCC) \nCOLLECT_GCC_OPTIONS='-std=c99' '-E' '-v'
'-mtune=generic' '-march=x86-64'\n cc1obj -E -quiet -v - -mtune=generic
-march=x86-64 -std=c99 -dumpbase -\ngcc: fatal error: cannot execute
\xE2\x80\x98""cc1obj\xE2\x80\x99: execvp: No such file or
directory\ncompilation terminated.\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "gcc" ("-xobjective-c", "-std=c99", "-dM", "-E", "-") "gcc: fatal
error: cannot execute \xE2\x80\x98""cc1obj\xE2\x80\x99: execvp: No such file or
directory\ncompilation terminated.\n"
kdevelop.plugins.clang: Unhandled type: ExtVector float
__attribute__((ext_vector_type(4)))
kdevelop.plugins.clang: Unhandled type: ExtVector float
__attribute__((ext_vector_type(4)))
```

beside the fact that pycode is installed, the gcc error is repeated many times.
even more puzzling is that 
--enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto
why in the world is that whole list there?  

EXPECTED RESULT
no breakage

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora 35

(available in About System)
I do not have a About system in this kdevelop but it seem that i have:
KDE Frameworks Version 5.90.0
Qt Version 5.15.2 (built against 5.15.2)

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

Reply via email to