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 255614 - #include <iostream> in Welcome sample is unresolved with Studio 12.4 on Linux
Summary: #include <iostream> in Welcome sample is unresolved with Studio 12.4 on Linux
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-29 05:46 UTC by Vladimir Kvashin
Modified: 2016-10-31 11:28 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 Vladimir Kvashin 2015-09-29 05:46:58 UTC
I'm on Ubuntu Linux; I have OSS 12.4 installed in /opt/solarisstudio12.4. IDE finds this installation OK. And it automatically becomes the default one.

But when I create a Welcome project, I see that #include <iostream> is unresolved.

Well, Ubuntu is not a supported platform for Studio. If this is Ubuntu specific, then it's a P4. But if it's not it's a P2 - at least.
Comment 1 Vladimir Kvashin 2015-09-29 05:47:40 UTC
This is not new preprocessor specific - I've just checked.
Comment 2 soldatov 2015-09-29 08:13:36 UTC
(In reply to Vladimir Kvashin from comment #0)
> Well, Ubuntu is not a supported platform for Studio.
C++ compiler doesn't work on Ubuntu, Debian, Slackware. Really. It is not a regression. This behavior I see for a years.
Comment 3 Vladimir Kvashin 2015-09-29 10:09:29 UTC
Ubuntu specific. Ubuntu is not supported by CC.
CC output does not contain include directories
while cc does.

CC output:

#/opt/oracle/solarisstudio12.4/bin/CC "-Wd,-xide" "/dev/null"
#__output_format_version 1.0
#__tool_version_string "CC Sun C++ 5.13 Linux_i386 2014/10/20"
#__tool_build_number 2014/10/20
#__tool_version_number 0x5130
#__system_macro __SUNPRO_CC 0x5130
#__system_macro __unix 1
#__system_macro __unix__ 1
#__system_macro __linux 1
#__system_macro __linux__ 1
#__system_macro __gnu__linux__ 1
#__system_macro __builtin_expect(e,x) e
#__system_macro __x86_64 1
#__system_macro __x86_64__ 1
#__system_macro __amd64 1
#__system_macro __amd64__ 1
#__system_macro _LP64 1
#__system_macro __LP64__ 1
#__system_macro __BUILTIN_VA_STRUCT 1
#__system_macro linux 1
#__system_macro unix 1
#__system_macro __SUN_PREFETCH 1
#__system_macro __SUNPRO_CC_COMPAT 5
#__system_macro __NOVECTORSIZE__ 1

cc output:

#/opt/oracle/solarisstudio12.4/bin/cc "-Wd,-xide" "/dev/null"
#__output_format_version 1.0
#__tool_version_string "cc Sun C 5.13 Linux_i386 2014/10/20"
#__tool_build_number 2014/10/20
#__tool_version_number 0x5130
#__system_macro __SUNPRO_C 0x5130
#__system_macro __unix 1
#__system_macro __unix__ 1
#__system_macro __linux 1
#__system_macro __linux__ 1
#__system_macro __gnu__linux__ 1
#__system_macro __builtin_expect(e,x) e
#__system_macro __x86_64 1
#__system_macro __x86_64__ 1
#__system_macro __amd64 1  
#__system_macro __amd64__ 1
#__system_macro _LP64 1
#__system_macro __LP64__ 1 
#__system_macro __BUILTIN_VA_STRUCT 1  
#__system_macro __C11FEATURES__ 1  
#__system_macro __C99FEATURES__ 1  
#__system_macro __PRAGMA_REDEFINE_EXTNAME 1
#__system_macro unix 1 
#__system_macro linux 1
#__system_macro __RESTRICT 1   
#__system_macro __FLT_EVAL_METHOD__ 0  
#__system_macro __SUN_PREFETCH 1
#__system_macro __NOVECTORSIZE__ 1
#__system_macro __LINE__ 
#__system_macro __FILE__ 
#__system_macro __STDC__ 1
#__system_macro __STDC_VERSION__ 199901L
#__system_macro __DATE__ "Sep 29 2015"
#__system_macro __TIME__ "13:08:25"
#__system_macro __STDC_IEC_559__ 0
#__system_macro __STDC_IEC_559_COMPLEX__ 0
#__system_macro __STDC_HOSTED__ 1
#__system_macro __STDC_ANALYZABLE__ 1
#__system_macro __STDC_NO_ATOMICS__ 1
#__system_macro __STDC_NO_THREADS__ 1
#__system_macro __has_attribute (attr) ___has_attribute___ ( attr )
#__system_include "/opt/solarisstudio12.4/lib/compilers/rtlibs/usr/include"
#__system_include "/opt/solarisstudio12.4/lib/compilers/include/cc"
#__system_include "/usr/include"