Skip to content

Instantly share code, notes, and snippets.

View sgraham's full-sized avatar

Scott Graham sgraham

View GitHub Profile
// server --------------------------
#include <windows.h>
#include <stdio.h>
HANDLE pipe;
DWORD __stdcall ServiceProc(void*) {
for (;;) {
if (!ConnectNamedPipe(pipe, nullptr)) {
@sgraham
sgraham / a.cc
Last active August 29, 2015 13:55
#include <string>
#include <stdio.h>
class Foo {
public:
Foo(const std::string* s) : s_(s) {
}
~Foo() {
printf("~Foo: %s\n", s_->c_str());
}
[cygwin-webkitpy]d:\src\cr3\src>.\webkit\tools\layout_tests\run_webkit_tests.bat http
Using port 'win-win7'
Test configuration: <win7, x86, release>
View the test results at file://d:\src\cr3\src\webkit\Release\layout-test-results/results.html
Baseline search path: win -> generic
Using Release build
Pixel tests enabled
Regular timeout: 6000, slow test timeout: 30000
Command line: d:\src\cr3\src\out\Release\content_shell.exe --dump-render-tree --enable-crash-reporter --crash-dumps-dir=d:\src\cr3\src\out\Release\crash-dumps -
d:\src\chrome_child_linkrepro>tim link @link.rsp
Creating library .\chrome_child.dll.lib and object .\chrome_child.dll.exp
real: 2m19.203s
d:\src\chrome_child_linkrepro>tim link @link.rsp
Creating library .\chrome_child.dll.lib and object .\chrome_child.dll.exp
real: 1m42.234s
[5f88f5f...]d:\src\cr\src>ninja -C out\Release gn
ninja: Entering directory `out\Release'
[313/313] LINK_EMBED gn.exe
[5f88f5f...]d:\src\cr\src>out\release\gn gen out_gn
ERROR at //third_party/boringssl/BUILD.gn:58:7: Undefined variable for +=.
defines += [ "OPENSSL_NO_ASM" ]
^------
I don't have something with this name in scope now.
===Running c:\src\depot_tools\python276_bin\python.exe -u C:\src\depot_tools\thi
rd_party\gsutil\gsutil rm gs://chrome-bot-update/chromium.win/Win8 Aura/vm898-m1
/start_old.json gs://chrome-bot-update/chromium.win/Win8 Aura/vm898-m1/end_old.j
son (retry #1)===
Emitting flag file at C:\src\build\slave\fake_slave\build\update.flag
Revisions: ['src@285867']
Fetching Git checkout at src@285867
Fetching Git checkout
===Running c:\src\depot_tools\python276_bin\python.exe -u C:\src\depot_tools\git
_cache.py populate --ignore_locks -v --cache-dir C:\\src\\build\\slave\\cache_di
@@@STEP_CURSOR rmtree build directory@@@
@@@STEP_LOG_LINE@python.inline@@@@
@@@STEP_LOG_LINE@python.inline@import os, sys@@@
@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@
@@@STEP_LOG_LINE@python.inline@@@@
[1079->10842/11954 ~33] ACTION nacl_irt: build IRT x86-32 nexe_ceaf91d6ac38513b2a5e22379644aa4b
FAILED: d:\src\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 nacl_irt_target_build_IRT_x86_32_nexe_ceaf91d6ac38513b2a5e22379644aa4b..rsp ..\..\ppapi\native_client
../../out/Release/gen/tc_irt/lib32/libppapi_proxy_nacl.a(resource_reply_thread_registrar_130d4d67.o): In function `~AutoLock':
/cygdrive/d/src/cr3/src/ppapi/../base/synchronization/lock.h:107: undefined reference to `base::Lock::AssertAcquired() const'
../../out/Release/gen/tc_irt/lib32/libppapi_proxy_nacl.a(resource_reply_thread_registrar_130d4d67.o): In function `base::Lock::Release()':
/cygdrive/d/src/cr3/src/ppapi/../base/synchronization/lock.h:46: undefined reference to `base::Lock::CheckHeldAndUnmark()'
../../out/Release/gen/tc_irt/lib32/libppapi_proxy_nacl.a(resource_reply_thread_registrar_130d4d67.o): In function `base::Lock::Acquire()':
/cygdrive/d/src/cr3/src/ppapi/../base/synchronization/lock.h:43: undefined r
Different set of sources files:
In gyp, not in GN:
../../base/third_party/nspr/prtime.cc
../../base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc
../../base/debug/asan_invalid_access.cc
In GN, not in gyp:
../../third_party/libevent/log.c
../../third_party/libevent/event.c
../../third_party/libevent/strlcpy.c
../../third_party/libevent/epoll.c
Different set of sources files:
In gyp, not in GN:
../../base/debug/asan_invalid_access.cc
../../base/third_party/nspr/prtime.cc
../../base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc
In GN, not in gyp:
../../third_party/libevent/buffer.c
../../third_party/libevent/epoll.c
../../third_party/libevent/evbuffer.c
../../third_party/libevent/evdns.c