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

            Bug ID: 420570
           Summary: Clang on MacOS can't find ~/Library/Application
                    Support/kdevscratchpad/... because it contains
                    whitespace
           Product: kdevelop
           Version: git master
          Platform: Other
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Plugin: Scratchpad
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: petross...@gmail.com
  Target Milestone: ---

SUMMARY
Clang can't compile code under this dir because it understands two separate
directories.

STEPS TO REPRODUCE
1. Open the scratchpad toolview
2. Write a small c/c++ example
3. Tap/click the cursor on the command to run the example and hit enter.

OBSERVED RESULT

Running /bin/sh -c g++ -std=c++11 -o /tmp/a.out
/Users/petros/Library/Application Support/kdevscratchpad/scratches/typeid.cpp
&& /tmp/a.out...
clang: error: no such file or directory: '/Users/petros/Library/Application'
clang: error: no such file or directory:
'Support/kdevscratchpad/scratches/typeid.cpp'
clang: error: no input files
Process finished with exit code 1.

EXPECTED RESULT

Clang should be able to follow the path and find the file.cpp to compile it. 

SOFTWARE/OS VERSIONS
macOS: Catalina
Qt Version: qt: stable 5.14.1 (bottled)

ADDITIONAL INFORMATION

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

Reply via email to