View unanswered posts | View active topics It is currently Mon Dec 18, 2017 7:57 am



Reply to topic  [ 3 posts ] 
 ftruncate in dekitPPC r 29 
Author Message

Joined: Mon Jul 04, 2011 1:03 pm
Posts: 34
In devkitPPC release 29, now the compiler gives a warning for "ftruncate" (undefined function).
Indeed the include file (unist.h) changed in respect to r28.
However the compiler can link the function.

In sys/unistd.h

Code:
#if defined(__CYGWIN__) || defined(__rtems__) || defined(__aarch64__) || defined (__arm__) || defined(__sh__) || defined(__SPU__)
#if !defined(__INSIDE_CYGWIN__)
int     _EXFUN(ftruncate, (int __fd, off_t __length));
int     _EXFUN(truncate, (const char *, off_t __length));
#endif
#endif


PPC architecture seems not included in the OR list.


Wed Jan 18, 2017 2:09 pm
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1210
Location: UK
Can you open an issue at https://github.com/devkitPro/newlib/issues for this please.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Wed Jan 18, 2017 10:44 pm
Profile ICQ WWW

Joined: Mon Jul 04, 2011 1:03 pm
Posts: 34
Just done


Thu Jan 19, 2017 3:24 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads