zoukankan      html  css  js  c++  java
  • error: ‘ptrdiff_t’ does not name a type

    In file included from external/gtest/src/../include/gtest/gtest-param-test.h:157:0,
                     from external/gtest/src/../include/gtest/gtest.h:69,
                     from external/gtest/src/gtest_main.cc:32:
    external/gtest/src/../include/gtest/internal/gtest-param-util.h:122:11: error: ‘ptrdiff_t’ does not name a type
    In file included from external/gtest/src/../include/gtest/gtest-param-test.h:157:0,
                     from external/gtest/src/../include/gtest/gtest.h:69,
                     from external/gtest/src/../src/gtest.cc:34,
                     from external/gtest/src/gtest-all.cc:36:
    external/gtest/src/../include/gtest/internal/gtest-param-util.h:122:11: error: ‘ptrdiff_t’ does not name a type
    In file included from external/gtest/src/gtest-all.cc:38:0:
    解决方法:
    $vi external/gtest/src/../include/gtest/internal/gtest-param-util.h
    #include <cstddef>
  • 相关阅读:
    学习日报
    学习日报
    学习日报
    学习日报
    《人月神话》读后感(第一二章)
    线程
    for each
    类的访问属性
    异常
    输入输出流
  • 原文地址:https://www.cnblogs.com/googlegis/p/2978731.html
Copyright © 2011-2022 走看看