ashmew2 / gid-get-it-done Goto Github PK
View Code? Open in Web Editor NEWTODO manager [ No BS ].
TODO manager [ No BS ].
I'm trying to compiler gidserver.cpp
using:
g++ gidserver.cpp -std=c++11 -Wall -lpthread -o gidserver
I get 1 error:
gidserver.cpp:169:84: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
if(bind(listenfd, (struct sockaddr *) &listenaddr, sizeof(struct sockaddr_in)) < 0) {
Running g++ --version
gives me:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Expected comment in .bash_profile
: Automatically added by gid installer at [DATE]
Currently, the date seems to get omitted during installation. On a Mac, if when I run: echo "## Automatically added by gid installer at $(date --utc)"
on bash, I get:
date: illegal option -- -
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
## Automatically added by gid installer at
It seems that date
doesn't recognize the --utc
flag.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.