Giter VIP home page Giter VIP logo

eserv's People

Contributors

cataska avatar jserv avatar

Forkers

pianyu

eserv's Issues

Compile error on Mac OS X 10.6 (64bit)

Compile on Mac OS X 10.6 (64bit)

Error Message:

libeserv/analysis.c: In function ‘cacheCheck’:
libeserv/analysis.c:234: warning: format ‘%lx’ expects type ‘long 
unsigned int’, but 
argument 5 has type ‘off_t’


Dirty Patch:

request.c:19
- pHttp->st.st_size,
- pHttp->st.st_mtime
+ (long unsigned int) pHttp->st.st_size,
+ (long unsigned int) pHttp->st.st_mtime

libeserv/analysis.c:234:
- sprintf(buf, "%lx.%lx", (long unsigned int)pHttp->st.st_size, 
pHttp->st.st_mtime);
+ sprintf(buf, "%lx.%lx", (long unsigned int)pHttp->st.st_size, 
pHttp->st.st_mtime);


After apply the patch, the server runs fine. Gallery works like a charm (and 
nice 
painting),  
but calc/login cgi example failed.

Original issue reported on code.google.com by gasolin on 24 Apr 2010 at 2:52

Building error on FreeBSD/amd64

$gmake
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99 
 -c -o libeserv/mempool.o libeserv/mempool.c
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99 
 -c -o libeserv/hash.o libeserv/hash.c
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99 
 -c -o libeserv/io.o libeserv/io.c
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99 
 -c -o libeserv/http.o libeserv/http.c
cc1: warnings being treated as errors
libeserv/http.c: In function 'ex_sleep':
libeserv/http.c:13: warning: implicit declaration of function 'usleep'
libeserv/http.c: In function 'ex_http_start':
libeserv/http.c:91: warning: cast to pointer from integer of different size
gmake: *** [libeserv/http.o] Error 1

Original issue reported on code.google.com by [email protected] on 1 May 2010 at 9:03

Attachments:

error: cast to pointer from integer of different size

% mk 
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99   -c 
-o libeserv/mempool.o libeserv/mempool.c
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99   -c 
-o libeserv/hash.o libeserv/hash.c
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99   -c 
-o libeserv/io.o libeserv/io.c
gcc -Os -Wall -Wextra -Werror -D_POSIX_SOURCE -D_BSD_SOURCE -g -std=gnu99   -c 
-o libeserv/http.o libeserv/http.c
cc1: warnings being treated as errors
libeserv/http.c: In function ‘ex_http_start’:
libeserv/http.c:91: error: cast to pointer from integer of different size
make: *** [libeserv/http.o] Error 1

Original issue reported on code.google.com by ckanru on 24 Apr 2010 at 9:15

不好意思,无法登录您的博客, 冒昧在这里请教您一个问题

读了您的http://blog.linux.org.tw/~jserv/archives/002026.html
请教一下:怎样才能在pythonjs里使用字符串参数?

我在pyqtSignature用"int"可以把js的int传递给python
    @pyqtSignature("int", result="QString")
    def message(self,m):
        return str(m*10)
但是用"char * "却不能传字符串

"std::string","wchar_t"试过很多都不行 

Original issue reported on code.google.com by [email protected] on 3 May 2010 at 12:44

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.