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

            Bug ID: 443618
           Summary: "Compile and Run Cpp" doesn't work if the path
                    contains any spaces.
           Product: kate
           Version: 21.08.1
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: felipelorenz...@gmail.com
  Target Milestone: ---

SUMMARY
cannot compile cpp if the path has any space. 


STEPS TO REPRODUCE
1. create a directory containing a space
2. create any .cpp inside it
3. use tools>external tools>tools>compile and run cpp

OBSERVED RESULT

Compilation fails. The argument given to g++ lacks quotation marks around the
paths.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.14.10-1-MANJARO (64-bit)
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

I believe this is solved by adding the quotation marks in the arguments inside
the file /kate/addons/externaltools/externaltools-config/compile_and_run_cpp.

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

Reply via email to