source/Fileproc.cpp: In function ‘int Saverestoredfile(int)’:
source/Fileproc.cpp:384:13: error: aggregate ‘Saverestoredfile(int)::stat fileAttributes’ has incomplete type ad cannot be defined
struct stat fileAttributes;
^
source/Fileproc.cpp:385:40: error: invalid use of incomplete type ‘struct Saverestoredfile(int)::stat’
if( stat(hfile.c_str(), &fileAttributes) != 0 ) {
^
source/Fileproc.cpp:384:8: note: forward declaration of ‘struct Saverestoredfile(int)::stat’
struct stat fileAttributes;
source/Fileproc.cpp: In function ‘int Saverestoredfile(int)’:
source/Fileproc.cpp:384:13: error: aggregate ‘Saverestoredfile(int)::stat fileAttributes’ has incomplete type ad cannot be defined
struct stat fileAttributes;
^
source/Fileproc.cpp:385:40: error: invalid use of incomplete type ‘struct Saverestoredfile(int)::stat’
if( stat(hfile.c_str(), &fileAttributes) != 0 ) {
^
source/Fileproc.cpp:384:8: note: forward declaration of ‘struct Saverestoredfile(int)::stat’
struct stat fileAttributes;
b846bd342c