This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>clang++ -std=c++11 -fsyntax-only -Iinclude/ src/*.cpp && clang++ -std=c++11 -fsyntax-only -Iinclude/ example/example-relay-server.cpp && clang++ -std=c++11 -fsyntax-only -Iinclude/ example/example-relay-client.cpp | |
In file included from src/RelayServer.cpp:3: | |
In file included from C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/ | |
include\set:61: | |
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_set.h | |
:205:57: error: | |
no member named 'value' in | |
'std::is_nothrow_copy_constructible<std::less<unsigned short> >' | |
noexcept(is_nothrow_copy_constructible<_Compare>::value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linking CXX executable chessplusplus.exe | |
clang version 3.3 (tags/RELEASE_33/final) | |
Target: x86_64-w64-mingw32 | |
Thread model: posix | |
"C:/MinGW/bin/g++.exe" -std=c++11 -O3 -D NDEBUG "-L\\lib" -v -m64 -o chessplusp | |
lus.exe CMakeFiles/chessplusplus.dir/src/Application.cpp.obj CMakeFiles/chessplu | |
splus.dir/src/AppStateGame.cpp.obj CMakeFiles/chessplusplus.dir/src/board/Bishop | |
.cpp.obj CMakeFiles/chessplusplus.dir/src/board/King.cpp.obj CMakeFiles/chessplu | |
splus.dir/src/board/Knight.cpp.obj CMakeFiles/chessplusplus.dir/src/board/Pawn.c | |
pp.obj CMakeFiles/chessplusplus.dir/src/board/Queen.cpp.obj CMakeFiles/chessplus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Nicholas\Desktop\Maze Runner>javac Main.java | |
C:\Users\Nicholas\Desktop\Maze Runner>pause | |
Press any key to continue . . . | |
C:\Users\Nicholas\Desktop\Maze Runner>java Main | |
192971974615189 ............... ###............ | |
|31||34|4418966 |..||..|....... |.#||..|....... | |
7|8365559913696 .|............. .|###.......... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nicholas@Nicholas-Laptop /cygdrive/c/Users/Nicholas/Desktop/lacenet | |
$ mingw32-make CC=x86_64-w64-mingw32-gcc LD=x86_64-w64-mingw32-ld | |
x86_64-w64-mingw32-gcc -O0 -g -DLNET_DEBUG -std=gnu99 -Wall -Iinclude src/server/request/join_channel.c -c -o src/server/request/join_channel.o | |
src/server/request/join_channel.c: In function 'lnclient_proc_request_join_channel': | |
src/server/request/join_channel.c:40:10: warning: passing argument 2 of 'lnserver_send_failure_join_channel' from incompatible pointer type [enabled by default] | |
In file included from src/server/request/../client.h:33:0, | |
from src/server/request/join_channel.c:30: | |
src/server/request/../server.h:114:6: note: expected 'const char *' but argument is of type 'lnserver_client' | |
src/server/request/join_channel.c:40:10: error: too many arguments to function 'lnserver_send_failure_join_channel' | |
In file included from src/server/request/../client.h:33:0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Nicholas>cd /d C:\Users\Nicholas\Desktop\llvm-build\tools\clang\lib\AST | |
Matchers\Dynamic && C:\MinGW64\bin\x86_64-w64-mingw32-g++.exe -DCLANG_ENABLE_A | |
RCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__S | |
TDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -W -Wno-u | |
nused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-l | |
ong-long -Wno-maybe-uninitialized -Wnon-virtual-dtor -fno-common -Woverloaded-vi | |
rtual -Wcast-qual -fno-strict-aliasing -fno-rtti @CMakeFiles/clangDynamicASTMatc | |
hers.dir/includes_CXX.rsp -fno-exceptions -o CMakeFiles\clangDynamicASTMatcher | |
s.dir\Registry.cpp.obj -c C:\Users\Nicholas\Desktop\llvm\tools\clang\lib\ASTMatc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ===-- enable_execute_stack.c - Implement __enable_execute_stack ---------=== | |
* | |
* The LLVM Compiler Infrastructure | |
* | |
* This file is dual licensed under the MIT and the University of Illinois Open | |
* Source Licenses. See LICENSE.TXT for details. | |
* | |
* ===----------------------------------------------------------------------=== | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prog.cpp:15:68: error: could not convert ‘std::unordered_map<const std::basic_string<char>, int , <lambda(const string&)> , std::equal_to<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, int > > >(bucketCount, (* & hf), (*(const key_equal*)(& std::unordered_map<const std::basic_string<char>, int, <lambda(const string&)>, std::equal_to<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, int> > >::key_equal())), (*(const allocator_type*)(& std::allocator<std::pair<const std::basic_string<char>, int> >())))’ | |
from ‘std::unordered_map<const std::basic_string<char>, int , <lambda(const string&)> , std::equal_to<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, int > > >’ | |
to ‘std::unordered_map<const std::basic_string<c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> | |
operator typename std::enable_if<std::is_arithmetic<T>::value && !std::is_floating_point<T>::value && !std::is_same<T, bool>::value, T>::type() const noexcept | |
{ | |
return static_cast<T>(static_cast<json_int_t>(value)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SAMPLERATE = 44100 | |
function sin(x) | |
return math.sin(2*math.pi*x/SAMPLERATE) | |
end | |
function pcm(i) | |
f = 1000 | |
return (2/math.pi)*( | |
sin( 2*f*i*param)/2 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.BigInteger; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
public class BaseConvert | |
{ | |
public static void main(String[] args) throws Throwable | |
{ | |
if(args.length < 3) | |
{ |