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 118037 - When user defines your 'std' namespace, then Code Completion and Hyperlinks work wrong with standard functions from 'std'
Summary: When user defines your 'std' namespace, then Code Completion and Hyperlinks w...
Status: RESOLVED DUPLICATE of bug 136175
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on: 136175
Blocks:
  Show dependency tree
 
Reported: 2007-10-07 11:45 UTC by soldatov
Modified: 2008-06-11 09:01 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 2007-10-07 11:45:21 UTC
When user defines your 'std' namespace, then Code Completion and Hyperlinks work wrong with standard functions from 'std'.
You can use 'litesql' project or create more simple project.

Steps:
- Create first project with such code:
---------------------------------------------

#include <stdlib.h>
#include <iostream>

namespace std {
    void foo() {
        
    }
}

int main(int argc, char** argv) {
    std::cout << "test\n";
    
    return (EXIT_SUCCESS);
}

---------------------------------------------
- Create second project with such code:
---------------------------------------------

#include <stdlib.h>
#include <iostream>

int main(int argc, char** argv) {
    std::cout << "test\n";
    
    return (EXIT_SUCCESS);
}

---------------------------------------------
- In first and second project type "std::"
==> Code Copletion listbox contain 'foo()' item only
- Hyperlinks on 'cout' doesn't work in both projects.
Comment 1 Vladimir Voskresensky 2008-06-11 09:01:02 UTC

*** This issue has been marked as a duplicate of 136175 ***