Giter Club home page Giter Club logo

gid-get-it-done's People

Contributors

ashmew2 avatar mahendratanveer avatar mirrorz avatar xennygrimmato avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gid-get-it-done's Issues

gidserver doesn't compile with Apple LLVM version 7.3.0 (clang-703.0.31)

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

Mac OS X: bash_profile doesn't contain date of installation of gid

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.