Bug 54498 - When entering multiple options in CXXFLAGS I have to put quotation marks in.
Summary: When entering multiple options in CXXFLAGS I have to put quotation marks in.
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-11 21:20 UTC by Barry Stokes
Modified: 2003-02-23 19:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Stokes 2003-02-11 21:20:07 UTC
Version:           Alpha 3 (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          GCC 3.2.1 
OS:          Linux

When changing the options for "Compiler flags (CXXFLAGS)"  (in Project->Project Options->Configure Options->C++) if you enter more than one item, or anything with spaces in it, then you have to enclose the whole thing with quotation marks (") or else configure dies. It seems that it is setting CXXFLAGS on the command line without quotes and is causing it to interpret the meaning of what it written incorrectly.
Comment 1 Barry Stokes 2003-02-11 21:23:34 UTC
Oops... Forgot to add this: 
 
As a quick illustration as to what happens, just clicking a few options gave me 
CXXFLAGS of -ffloat-store -fforce-addr -fforce-mem -fno-defer-pop 
 
and the configure ran and said: 
cd /home/barry/Third_Year_Project/virtualvivarium && CXXFLAGS=-ffloat-store 
-fforce-addr -fforce-mem -fno-defer-pop 
/home/barry/Third_Year_Project/virtualvivarium/configure  
* /bin/sh: line 1: -fforce-addr: command not found  
* *** Exited with status: 127 *** 
Comment 2 Caleb Tennis 2003-02-23 19:34:39 UTC
Fixed in CVS.