My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: [SOLVED] Compilation Problem at unparser.c:41: - error: static declaration of 'strndup' follows non-static declaration
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by grzegorz...@gmail.com, Aug 6, 2009
* What steps will reproduce the problem?
wget-ing tinyap-1.4.0 on Arch64 (Amd64 - x86_64) with gcc 4.3.3 and trying
to compile it (./configure ; make all)
 

* What is the expected output?
Everything compiled...

* What do you see instead?
unparser.c:41: error: static declaration of 'strndup' follows non-static
declaration

* Please provide any additional information below.

[SOLVED]
I needed to change line unparser.c:41
from
"static char* strndup(const char* src, size_t n) {"
to
"char* strndup(const char* src, size_t n) {"



Powered by Google Project Hosting