My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 120: macro/extern class cause compilation fail
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2011


 
Reported by Andy.onthewings, May 16, 2011
The following code fail to be compiled using haxe r3812, hxcpp r319

	@:macro class M {} //or extern class M {}

	class Main{
		static function main():Void {
			
		}
	}

Error from VS2010:
./src/M.cpp(65) : fatal error C1083: Cannot open include file: 'extern/M.cpp': No such file or directory
Aug 15, 2011
Project Member #1 gameh...@gmail.com
I have fixed the case for macro classes on haxe svn.
The "extern" keyword is currently only valid internally when it is known that the runtime provides the appropriate files.
Status: Fixed

Powered by Google Project Hosting