GithubHelp home page GithubHelp logo

batch2bash's People

Contributors

ea avatar gajop avatar pietrushnic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

batch2bash's Issues

`snprintf' was not declared in this scope

$ make
flex -i  scanner.l
bison  -y -d -v parser.y
g++ -Wno-write-strings -g  -Wextra -pedantic -std=c++98 -U_FORTIFY_SOURCE -c semantic.cpp -o semantic.o
g++ -Wno-write-strings -g  -Wextra -pedantic -std=c++98 -U_FORTIFY_SOURCE -c command.cpp -o command.o
g++ -Wno-write-strings -g  -Wextra -pedantic -std=c++98 -U_FORTIFY_SOURCE -c codegen.cpp -o codegen.o
g++ -Wno-write-strings -g  -Wextra -pedantic -std=c++98 -U_FORTIFY_SOURCE  lex.yy.c y.tab.c semantic.o command.o codegen.o -o batch2bash
scanner.l: In function `int yylex()':
scanner.l:24:35: error: `strdup' was not declared in this scope
scanner.l:25:36: error: `strdup' was not declared in this scope
scanner.l:26:32: error: `strdup' was not declared in this scope
scanner.l:93:59: error: `strdup' was not declared in this scope
scanner.l:94:59: error: `strdup' was not declared in this scope
scanner.l:101:32: error: `strdup' was not declared in this scope
scanner.l:109:53: error: `strdup' was not declared in this scope
lex.yy.c: In function `void yy_init_buffer(yy_buffer_state*, FILE*)':
lex.yy.c:2156:59: error: `fileno' was not declared in this scope
parser.y: In function `int yyparse()':
parser.y:234:83: error: `snprintf' was not declared in this scope
Makefile:9: recipe for target `batch2bash' failed
make: *** [batch2bash] Error 1

System: Cygwin 1.7.18 (0.263/5/3) on Windows 7
Arch: 64bit/i686
Flex: 2.5.35
Bison: 2.7
Make: 3.82.90
GCC: 4.5.3
Bash: 4.1.10(4)-release

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.