From f9ff9073c22a1a5fca4f2bf51fa601789acc6b15 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 28 Jul 2015 14:05:13 +0200 Subject: [PATCH 1/1] [appveyor] be more verbose about what's going on +fix stupid typo on win error reporting --- appveyor.yml | 2 ++ src/xbt/win32_ucontext.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index c30d82123b..5480121bee 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -40,6 +40,8 @@ build_script: - C:\MinGW\msys\1.0\bin\bash -lc "cp /c/pthreads-win32/Pre-built.2/include/* /c/MinGW/include" - C:\MinGW\msys\1.0\bin\bash -lc "cp /c/pthreads-win32/Pre-built.2/dll/x86/*.dll /c/MinGW/bin" - C:\MinGW\msys\1.0\bin\bash -lc "cd /c/projects/simgrid && cmake -G \"MSYS Makefiles\" -DBOOST_ROOT=\"%BOOST_ROOT%\" -DBOOST_LIBRARYDIR=\"%BOOST_LIBRARYDIR%\" -DBoost_USE_STATIC_LIBS=ON -Denable_debug=ON -Denable_documentation=OFF -Denable_coverage=OFF -Denable_tracing=ON -Denable_java=ON ." +- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/projects/simgrid; echo XXX simgrid_config.h; cat include/simgrid_config.h" +- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/projects/simgrid; echo XXX src/internal_config.h; cat src/internal_config.h" - C:\MinGW\msys\1.0\bin\bash -lc "cd /c/projects/simgrid && make" test_script: diff --git a/src/xbt/win32_ucontext.c b/src/xbt/win32_ucontext.c index 5c2e2b5107..ab72eb18f5 100644 --- a/src/xbt/win32_ucontext.c +++ b/src/xbt/win32_ucontext.c @@ -74,7 +74,7 @@ int makecontext(ucontext_t * ucp, void (*func) (), int argc, ...) ucp->uc_mcontext.Rip = (DWORD64) func; ucp->uc_mcontext.Rsp = (DWORD64) sp - sizeof(void*); #else - #error "No architecture defined for Windows build. + #error "No architecture defined for Windows build." #endif /* Save/Restore the full machine context */ -- 2.20.1