Created
December 17, 2009 02:15
-
-
Save usagi/258462 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [bugbeard] http://tricklib.com/cxx/ex/bugbeard/ | |
// ver.2008-09-23 + temporary fix(http://twitter.com/USAGI_WRP/status/6680888390) | |
#define BUG_EVIL_CONTRACT | |
//#include <bug/bug.h> | |
//BUG_define_logger(new bugbeard::bug_tree_logger(new bugbeard::bug_file_writer("bug/trace.log"))); | |
#define BUG_STATEMENT_HACK | |
#include <bug/bug.h> | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ | |
auto f = [](){ return; }; // error C2050: switch 式の結果は、整数値になりませんでした。 | |
// in Visual Studio 2010 Beta2(JP) with Win32 Console App Wizard | |
// advice of temporary fix from the bugbeard author: | |
// http://twitter.com/wraith13/status/6751417175 | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [bugbeard] http://tricklib.com/cxx/ex/bugbeard/ | |
// ver.2008-09-23 + temporary fix(http://twitter.com/USAGI_WRP/status/6680888390) | |
#define BUG_EVIL_CONTRACT | |
//#include <bug/bug.h> | |
//BUG_define_logger(new bugbeard::bug_tree_logger(new bugbeard::bug_file_writer("bug/trace.log"))); | |
#define BUG_STATEMENT_HACK | |
#include <bug/bug.h> | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ | |
struct // its okay. | |
{ | |
void operator()(){ return;} | |
} f; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment