shaohulu / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

QNX build is broken #444

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When building for QNX, we get these compile failures due to missing #includes:

../../testing/gtest/src/gtest-port.cc: In function 'std::size_t 
testing::internal::GetThreadCount()':
../../testing/gtest/src/gtest-port.cc:111:40: error: 'O_RDONLY' was not 
declared in this scope
../../testing/gtest/src/gtest-port.cc:111:48: error: 'open' was not declared in 
this scope

and 

../../testing/gtest/src/gtest-printers.cc: In function 'void 
testing::internal::PrintTo(const wchar_t*, std::ostream*)':
../../testing/gtest/src/gtest-printers.cc:333:37: error: 'wcslen' was not 
declared in this scope

Original issue reported on code.google.com by efidler....@gmail.com on 28 Oct 2013 at 9:16

GoogleCodeExporter commented 9 years ago
http://codereview.appspot.com/18730043

Original comment by efidler....@gmail.com on 28 Oct 2013 at 9:23