Skip to content

Commit

Permalink
* .clang complete now uses older libstdc++ for compatibility;
Browse files Browse the repository at this point in the history
  * started Instruction class
  • Loading branch information
sztomi committed Apr 28, 2011
1 parent fdb2fe7 commit 0b79a04
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .clang_complete
@@ -1 +1 @@
-I /usr/include/c++/4.5.2/i686-linux-gnu/ -I /usr/include/c++/4.5.2 -I /usr/include/c++/4.4.5/i686-linux-gnu/ -I /usr/include/c++/4.4.5
4 changes: 2 additions & 2 deletions src/mipscpu.h
Expand Up @@ -22,8 +22,8 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */


#ifndef _MIPCPU_H #ifndef _MIPSCPU_H
#define _MIPCPU_H #define _MIPSCPU_H


#include <boost/cstdint.hpp> #include <boost/cstdint.hpp>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
Expand Down
5 changes: 2 additions & 3 deletions test/main.cpp
Expand Up @@ -21,12 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */

#include <iostream> #include <iostream>
#include "../src/mipscpu.h" #include "../src/mipscpu.h"
#include "gtest/gtest.h"


int main(int argc, const char *argv[]) int main(int argc, char *argv[])
{ {
std::cout << "hello";
return 0; return 0;
} }
2 changes: 1 addition & 1 deletion thirdparty/include/gtest/internal/gtest-port.h
Expand Up @@ -449,7 +449,7 @@
// defining __GNUC__ and friends, but cannot compile GCC's tuple // defining __GNUC__ and friends, but cannot compile GCC's tuple
// implementation. MSVC 2008 (9.0) provides TR1 tuple in a 323 MB // implementation. MSVC 2008 (9.0) provides TR1 tuple in a 323 MB
// Feature Pack download, which we cannot assume the user has. // Feature Pack download, which we cannot assume the user has.
# if (defined(__GNUC__) && !defined(__CUDACC__) && (GTEST_GCC_VER_ >= 40000)) \ # if (defined(__GNUC__) && !defined(__CUDACC__) && !defined(__clang__) && (GTEST_GCC_VER_ >= 40000)) \
|| _MSC_VER >= 1600 || _MSC_VER >= 1600
# define GTEST_USE_OWN_TR1_TUPLE 0 # define GTEST_USE_OWN_TR1_TUPLE 0
# else # else
Expand Down

0 comments on commit 0b79a04

Please sign in to comment.