Giter Club home page Giter Club logo

link_grammar_prolog's People

Contributors

lains avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

link_grammar_prolog's Issues

Fix warnings during compilation of lgp.c

Warning: src/lgp.c: In function 'pl_get_linkage':
Warning: src/lgp.c:3462:3: warning: passing argument 1 of 'PL_foreign_control' makes pointer from integer without a cast [enabled by default]
Warning: switch (PL_foreign_control(handle)) {
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:268:17: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(int) PL_foreign_control(control_t);
Warning: ^
Warning: src/lgp.c:3523:5: warning: passing argument 1 of 'PL_foreign_context_address' makes pointer from integer without a cast [enabled by default]
Warning: context=PL_foreign_context_address(handle);
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:270:19: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(void *) PL_foreign_context_address(control_t);
Warning: ^
Warning: src/lgp.c:3583:5: warning: passing argument 1 of 'PL_foreign_context_address' makes pointer from integer without a cast [enabled by default]
Warning: context=PL_foreign_context_address(handle);
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:270:19: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(void *) PL_foreign_context_address(control_t);
Warning: ^
Warning: src/lgp.c:3620:13: warning: comparison between pointer and integer [enabled by default]
Warning: if (handle!=NULL) {
Warning: ^
Warning: src/lgp.c:3621:5: warning: passing argument 1 of 'PL_foreign_context_address' makes pointer from integer without a cast [enabled by default]
Warning: context=PL_foreign_context_address(handle);
Warning: ^
Warning: In file included from src/lgp.c:1:0:
Warning: /usr/lib/swi-prolog/include/SWI-Prolog.h:270:19: note: expected 'control_t' but argument is of type 'foreign_t'
Warning: PL_EXPORT(void *) PL_foreign_context_address(control_t);
Warning: ^
Warning: src/string-set.c: In function 'find_place':
Warning: src/string-set.c:89:5: warning: pointer targets in passing argument 1 of 'hash_string' differ in signedness [-Wpointer-sign]
Warning: h = hash_string(str, ss);
Warning: ^
Warning: src/string-set.c:44:5: note: expected 'unsigned char *' but argument is of type 'char *'
Warning: int hash_string(unsigned char *str, String_set *ss) {
Warning: ^
Warning: src/string-set.c:90:5: warning: pointer targets in passing argument 1 of 'stride_hash_string' differ in signedness [-Wpointer-sign]
Warning: s = stride_hash_string(str, ss);
Warning: ^
Warning: src/string-set.c:50:5: note: expected 'unsigned char *' but argument is of type 'char *'
Warning: int stride_hash_string(unsigned char *str, String_set *ss) {
Warning: ^
Warning: src/error.c: In function 'error':
Warning: src/error.c:81:2: warning: format not a string literal and no format arguments [-Wformat-security]
Warning: fprintf(stderr, buf);
Warning: ^

Make fails after a first run offline

When make is run offline, wget fails (which is expected)
However, if run again when online, file download will not be retried and make fails subsequently

Add a root directory in zip archive created using make pack

Make pack currently creates a zip archive that contains the files from the archive, in order to publish them as an archive in the current tagged release.
This archive should store a directory link_grammar_prolog-$PACk_VERSION, and all source files in this directory. Today, source files are directy stored in the root of the archive, this needs to be fixed.

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.