This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 220842 - wrong values in "Include Directories" and "Preprocessor Definitions" after copy&paste
Summary: wrong values in "Include Directories" and "Preprocessor Definitions" after co...
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 13:17 UTC by soldatov
Modified: 2012-10-25 15:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2012-10-25 13:17:12 UTC
the tested line:
-DUnix -DMyMacro -DFFF -g -x c -I/usr/include -DFoo file.cc

Scenario:
- Copy line into buffer
- Call Project Properties window
- Activate Build|C Compiler|Include Directories field
- Paste line
- Activate Build|C Compiler|Preprocessor Definitions field
- Paste line
==>
expected:
/usr/include
Unix MyMacro FFF Foo
real:
c;/usr/include;file.cc
Unix MyMacro FFF c Foo file.cc
Comment 1 Alexander Simon 2012-10-25 15:18:05 UTC
what is an expected behavior when you type "include"?
Comment 2 Alexander Simon 2012-10-25 15:32:35 UTC
It is converter of known compiler keys (-I, -D, -U).
The converter ignore all other keys.
The converter do not work as driver and know nothing about two-words keys.
So any word that does not start from dash is valid input value and accepted by converter.