| Summary: | [fp] malloc | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Mario Charest <mcharest> |
| Component: | cdt-codan | Assignee: | CDT Codan Inbox <cdt-codan-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Elena Laskavaia <elaskavaia.cdt> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, yevshif |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
I can't reproduce that problem. Looks like something is wrong with your parser configuration. Try to build the project, auto discovery options should pick up the settings for your compiler. I think this is configuration issue. Does it work if you remove cstdlib header? Does it work if you remove all pre-indexed headers from the global indexer settings? |
In the following C++ program: #include <memory.h> #include <stdlib.h> #include <cstdlib> int main(int argc, char *argv[]) { char *p = (char*) malloc(10); return EXIT_SUCCESS; } malloc is reported as unresolved