Code Sense/Completion
Code Sense/Completion
- Subject: Code Sense/Completion
- From: Glenn Martin <email@hidden>
- Date: Fri, 22 Apr 2005 09:17:57 -0400
Ive noticed a bug in the Code Completion in C/C++ Projects. Ive been working with libxml2 (ive noticed it in MANY other libraries too). the Code completion cannot find the header files, its got the pathing wrong.. I can add the path to the project and thus to the compiler so it compiles but the code sense never picks up the dependencies.. so it assumes the fuctions are invalid as far as the compile is concerned... heres an example...
My "main.c" file:
#include <string.h>
#include <libxml2/libxml/encoding.h>
#include <libxml2/libxml/xmlwriter.h>
libxml2's "xmlwriter.h" file:
#ifndef __XML_XMLWRITER_H__
#define __XML_XMLWRITER_H__
#include <libxml/xmlversion.h>
#ifdef LIBXML_WRITER_ENABLED
#include <stdarg.h>
#include <libxml/xmlIO.h>
#include <libxml/list.h>
#include <libxml/xmlstring.h>
notice how my pathing includes "libxml2/"?... thats because the file is located at /usr/local/include/libxml2/libxml/xmlwriter.h ... but its internal references dont contain the libxml2 path... How can i make the editor look in /usr/local/include/libxml2 like it does /usr/local/include/?
I can do it in the project for the compiler but i cant seem to for the editor... Both the Borland and MS products can do that on windows... IDK... if you cant then it seems like XCode is missing what id consider an important feature.
Thank
Glenn Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden