Index: /trunk/ab5.0/abdev/compiler_x64/Compile_Object.cpp
===================================================================
--- /trunk/ab5.0/abdev/compiler_x64/Compile_Object.cpp	(revision 767)
+++ /trunk/ab5.0/abdev/compiler_x64/Compile_Object.cpp	(revision 768)
@@ -104,5 +104,5 @@
 	{
 		std::string tempMessage;
-		BOOST_FOREACH( const CMethod *pMethod, pClass->GetDynamicMethods() ){
+		foreach( const CMethod *pMethod, pClass->GetDynamicMethods() ){
 			if(pMethod->IsVirtual()){
 				if(pMethod->IsAbstract()){
@@ -117,7 +117,7 @@
 
 		// インターフェイスのvtbl
-		BOOST_FOREACH( const ::Interface *pInterface, pClass->GetInterfaces() )
+		foreach( const ::Interface *pInterface, pClass->GetInterfaces() )
 		{
-			BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
+			foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
 				if(pMethod->IsVirtual()){
 					if(pMethod->IsAbstract()){
@@ -256,5 +256,5 @@
 
 		// 仮想関数になるメソッドに使用チェックをつける
-		BOOST_FOREACH( const CMethod *pMethod, pClass->GetDynamicMethods() )
+		foreach( const CMethod *pMethod, pClass->GetDynamicMethods() )
 		{
 			if( pMethod->IsVirtual() )
@@ -263,7 +263,7 @@
 			}
 		}
-		BOOST_FOREACH( const ::Interface *pInterface, pClass->GetInterfaces() )
+		foreach( const ::Interface *pInterface, pClass->GetInterfaces() )
 		{
-			BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() )
+			foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() )
 			{
 				if( pMethod->IsVirtual() )
Index: /trunk/ab5.0/abdev/compiler_x64/Compile_ProcOp.cpp
===================================================================
--- /trunk/ab5.0/abdev/compiler_x64/Compile_ProcOp.cpp	(revision 767)
+++ /trunk/ab5.0/abdev/compiler_x64/Compile_ProcOp.cpp	(revision 768)
@@ -66,5 +66,8 @@
 		const PertialSchedule *pStackFramePertialSchedule = compiler.codeGenerator.op_sub_rsp( 0, true );
 
-		BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
+		foreach( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
+
+
+
 			if(memicmp(pVar->GetName().c_str(),"Static%",7)==0){
 				//コンストラクタ呼び出し
@@ -151,5 +154,5 @@
 
 		//Goto未知ラベルスケジュールが存在したらエラーにする
-		BOOST_FOREACH( const GotoLabelSchedule *pGotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules )
+		foreach( const GotoLabelSchedule *pGotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules )
 		{
 			if(pGotoLabelSchedule->GetName().size()>0){
@@ -645,10 +648,10 @@
 
 	//ローカル変数アドレススケジュール
-	BOOST_FOREACH( const PertialSchedule *pPertialSchedule, compiler.codeGenerator.localVarPertialSchedules )
+	foreach( const PertialSchedule *pPertialSchedule, compiler.codeGenerator.localVarPertialSchedules )
 	{
 		compiler.codeGenerator.opfix_offset( pPertialSchedule, AllLocalVarSize + stackFrameSize );
 	}
 	compiler.codeGenerator.localVarPertialSchedules.clear();
-	BOOST_FOREACH( Variable *pVar, pUserProc->GetLocalVars() ){
+	foreach( Variable *pVar, pUserProc->GetLocalVars() ){
 		//後にデバッグで利用する
 		pVar->SetOffsetAddress(
Index: /trunk/ab5.0/abdev/compiler_x64/Compile_Statement.cpp
===================================================================
--- /trunk/ab5.0/abdev/compiler_x64/Compile_Statement.cpp	(revision 767)
+++ /trunk/ab5.0/abdev/compiler_x64/Compile_Statement.cpp	(revision 768)
@@ -248,5 +248,5 @@
 int GetLabelAddress(char *LabelName,int LineNum){
 	if(LabelName){
-		BOOST_FOREACH( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
+		foreach( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
 		{
 			if( label.name.size() > 0 )
@@ -260,5 +260,5 @@
 	}
 	else{
-		BOOST_FOREACH( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
+		foreach( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
 		{
 			if( label.name.size() == 0 )
Index: /trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp
===================================================================
--- /trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp	(revision 767)
+++ /trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp	(revision 768)
@@ -810,5 +810,5 @@
 
 			int i = 0;
-			BOOST_FOREACH( Member *pMember, objClass.GetDynamicMembers() ){
+			foreach( Member *pMember, objClass.GetDynamicMembers() ){
 				if(InitBuf[i]=='\0'){
 					compiler.errorMessenger.Output(41,0,cp);
@@ -972,5 +972,5 @@
 
 			int i = 0;
-			BOOST_FOREACH( Member *pMember, objClass.GetDynamicMembers() ){
+			foreach( Member *pMember, objClass.GetDynamicMembers() ){
 				if(InitBuf[i]=='\0'){
 					compiler.errorMessenger.Output(41,0,cp);
@@ -1337,5 +1337,5 @@
 	}
 
-	BOOST_FOREACH( const Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
+	foreach( const Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
 		if( pVar->GetType().IsObject() || pVar->GetType().IsPointer() || pVar->GetType().IsStruct() ){
 			// オブジェクトまたはポインタだったとき
Index: /trunk/ab5.0/abdev/compiler_x64/MakePeHdr.cpp
===================================================================
--- /trunk/ab5.0/abdev/compiler_x64/MakePeHdr.cpp	(revision 767)
+++ /trunk/ab5.0/abdev/compiler_x64/MakePeHdr.cpp	(revision 768)
@@ -115,5 +115,5 @@
 	ActiveBasic::Common::Lexical::ResolveErrors resolveErrors;
 	compiler.GetObjectModule().Resolve( resolveErrors );
-	BOOST_FOREACH( const ResolveError &resolveError, resolveErrors )
+	foreach( const ResolveError &resolveError, resolveErrors )
 	{
 		compiler.errorMessenger.Output( ErrorInfo( 13, resolveError.GetTargetItemName(), -1 ) );
@@ -520,5 +520,5 @@
 	// 使用するDLL関数のチェック
 	////////////////////////////////
-	BOOST_FOREACH( const Schedule &schedule, compiler.linker.GetNativeCode().GetSchedules() )
+	foreach( const Schedule &schedule, compiler.linker.GetNativeCode().GetSchedules() )
 	{
 		if( schedule.GetType() == Schedule::DllProc )
@@ -831,5 +831,5 @@
 	//グローバル変数情報を扱う構造体も初期バッファの有無による配置を行う
 	//（デバッグ情報で利用される）
-	BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
+	foreach( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
 		if(pVar->GetOffsetAddress()&0x80000000){
 			pVar->SetOffsetAddress(
