* STATVFS.H \x10Problems
@ 1996-06-17 4:00 Stanley Phan
0 siblings, 0 replies; only message in thread
From: Stanley Phan @ 1996-06-17 4:00 UTC (permalink / raw)
I'm having some problem using statvfs.h with the DEC C++
compiler (v5.1).
When I use statvfs,, the compiler gives the error that I have
no constructor.
This is easy to see because the statvfs.h file contains:
#if defined(__STDC__) && !defined(_KERNEL)
int statvfs(const char *, struct statvfs *);
int fstatvfs(int, struct statvfs *);
#endif
Has anyone came across this problem, or knows about it?
It doesn't seem right. Shouldn't these prototypes be valid
when __cplusplus is defined?
Is it safe to define STDC so these prototypes are included?
I was probing around, and noticed that CC for Solaris compiler
does define STDC and their statvfs.h is just about identical
to the DEC one...
Does someone know when __STDC__ should be defined?
thanks
-Stanley
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-17 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-17 4:00 STATVFS.H \x10Problems Stanley Phan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox