Can't build after renaming a source file
Can't build after renaming a source file
- Subject: Can't build after renaming a source file
- From: Tereza Snyder <email@hidden>
- Date: Tue, 8 May 2007 16:23:38 -0500
While I was working on a very ordinary plugin project that I have
been happily building and testing, I noticed that my single source
file wasn't well named, and using the "rename" menu option in the
project window, I renamed the file from "test6.c" to "test.c". Now it
won't build! Even when I rename it back, it won't build!
I get the error:
:361: error: parse error before string constant
pointing at the first use of a macro from a header file. This is the
invocation:
EXTERNAL_BEGIN_DECLARATIONS("tester")
This is the macro:
#define EXTERNAL_BEGIN_DECLARATIONS(m_name) \
const char *g_external_name = m_name; \
ExternalDeclaration g_external_table[] = {
I see nothing strange here.
The header file was not touched; I know the header file is being read
because if I comment out its #include, missing #defines earlier in
the source file generate errors.
I have cleaned the project. I have closely inspected the project
settings and have detected no change. I am not using SCM. The only
thing that changed between successful builds and failing builds is
renaming the file.
Any clues?
tereza
_______________________________________________
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