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
| CXX = g++ | |
| CXXFLAGS = -Wall -O2 -g | |
| CPPFLAGS = | |
| AR = ar | |
| LD = g++ | |
| LDFLAGS = | |
| LIBS = | |
| RM = rm -f | |
| all: ok ng |
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
| CXX = g++ | |
| CXXFLAGS = -Wall -O0 -g | |
| CPPFLAGS = | |
| AR = ar | |
| LD = g++ | |
| LDFLAGS = | |
| LIBS = | |
| RM = rm -f | |
| all: ok ng |
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
| CXX = g++ | |
| CXXFLAGS = -Wall -Wextra -O2 -g | |
| CPPFLAGS = | |
| AR = ar | |
| LD = g++ | |
| LDFLAGS = | |
| LIBS = | |
| RM = rm -f | |
| all: ok ng |
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
| CXX = g++ | |
| CXXFLAGS = -Wall -Wextra -O2 -g | |
| CPPFLAGS = | |
| AR = ar | |
| LD = g++ | |
| LDFLAGS = | |
| LIBS = | |
| RM = rm -f | |
| all: ok ng |
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
| Index: struct.c | |
| =================================================================== | |
| --- struct.c (revision 38743) | |
| +++ struct.c (working copy) | |
| @@ -283,9 +283,10 @@ | |
| /* | |
| * call-seq: | |
| - * Struct.new( [aString] [, aSym]+> ) -> StructClass | |
| - * StructClass.new(arg, ...) -> obj |
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
| diff --git a/msvc11/gtest-md.sln b/msvc11/gtest-md.sln | |
| new file mode 100644 | |
| index 0000000..d82bd34 | |
| --- /dev/null | |
| +++ b/msvc11/gtest-md.sln | |
| @@ -0,0 +1,55 @@ | |
| +Microsoft Visual Studio Solution File, Format Version 12.00 | |
| +# Visual Studio Express 2012 for Windows Desktop | |
| +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest-md", "gtest-md.vcxproj", "{C8F6C172-56F2-4E76-B5FA-C3B423B31BE8}" | |
| +EndProject |
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
| #include <iostream> | |
| #include <limits> | |
| #include <typeinfo> | |
| #define PRINT_TYPE(x) std::cout << #x << ": " << typeid(x).name() << std::endl | |
| #define PRINT_VALUE(x) std::cout << #x << ": " << typeid(x).name() << "(" << x << ")" <<std::endl | |
| int main() | |
| { | |
| PRINT_TYPE(int); | |
| PRINT_TYPE(long int); | |
| PRINT_TYPE(long long int); |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| struct A | |
| { | |
| int i[]; | |
| }; | |
| int main(int argc, char *argv[]) | |
| { |
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
| /tmp.exe | |
| /tmp2.exe |