On Feb 11, 2012, at 12:19 AM, stevens wrote:

> Files should be compile:

I asked which file *is* being compiled, not which *should* be :-) Because 
clearly something’s not behaving as it should.

You can tell which source file was being compiled in the Xcode error list in 
the left pane. Below and indented from the error message will be lines like “In 
file included from …”. The bottommost of those will name the source file.

> AppDelegate.h
> AppDelegate.mm
> GLView.h
> GLView.mm
> RenderingEngine1.cpp
> IRenderingEngine.hpp
> defs.h(I have defined CODE_VERSION in this file)


Strictly speaking, header files (.h / .hpp) aren’t compiled on their own, only 
as part of the preprocessor including them into source files. The language used 
(C/ObjC/C++/etc.) depends on the type of the actual source file, not the header 
file. That’s why I asked.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to