Hi all,
Poco looks very nice, thanks for the work!!!
I cross compile the foundation lib on Windows for QNX using gcc3.4.4.
I have two compiler errors: File_UNIX.cpp and DirectoryIterator_UNIX.cpp.
I tried to solve it, but I'm stuck. Using Jam to build.
Looking at the source, I cannot see how File_UNIX.cpp would compile standalone.
I checked the Preprocessor defines to make sure, that things like POCO_OS_FAMILY_UNIX are picked up correctly.
So here is the compiler error and compiler call following.
Any further information needed, let me know.
.Rainer
In file included from D: hirdpartypocopoco-1.3.3p1FoundationsrcDirectoryIterator_UNIX.cpp:38:
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:68: error: `Timestamp' does not name a type
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:69: error: `Timestamp' does not name a type
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:70: error: expected `,' or `...' before '&' token
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:70: warning: ISO C++ forbids declaration of `Timestamp' with no type
In file included from D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:37:
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:68: error: `Timestamp' does not name a type
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:69: error: `Timestamp' does not name a type
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:70: error: expected `,' or `...' before '&' token
D:/thirdparty/poco/poco-1.3.3p1/Foundation/include/Poco/File_UNIX.h:70: warning: ISO C++ forbids declaration of `Timestamp' with no type
D: hirdpartypocopoco-1.3.3p1FoundationsrcDirectoryIterator_UNIX.cpp: In constructor `Poco::DirectoryIteratorImpl::DirectoryIteratorImpl(const std::string&)':
D: hirdpartypocopoco-1.3.3p1FoundationsrcDirectoryIterator_UNIX.cpp:51: error: `File' has not been declared
D: hirdpartypocopoco-1.3.3p1FoundationsrcDirectoryIterator_UNIX.cpp:51: error: `handleLastError' undeclared (first use this function)
D: hirdpartypocopoco-1.3.3p1FoundationsrcDirectoryIterator_UNIX.cpp:51: error: (Each undeclared identifier is reported only once for each function it appears in.)
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp: In member function `bool Poco::FileImpl::isHiddenImpl() const':
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:199: error: `Path' undeclared (first use this function)
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:199: error: (Each undeclared identifier is reported only once for each function it appears in.)
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:199: error: expected `;' before "p"
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:200: error: `p' undeclared (first use this function)
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp: At global scope:
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:206: error: `Timestamp' does not name a type
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:229: error: `Timestamp' does not name a type
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:242: error: expected `,' or `...' before '&' token
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:243: warning: ISO C++ forbids declaration of `Timestamp' with no type
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp: In member function `void Poco::FileImpl::setLastModifiedImpl(int)':
D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp:247: error: `ts' undeclared (first use this function)
Compiler call:
qcc -c -o D:sh4-qnx-m630-3.4.4-osp-ntr-rel-STLin hirdpartypocopoco-1.3.3p1FoundationsrcDirectoryIterator_UNIX.o -O3 -fno-strict-aliasing -fno-align-functions -fno-align-labels -fno-align-loops -fno-align-jumps -fno-data-sections -fno-function-sections -fdelayed-branch -fno-gcse -fno-rerun-cse-after-loop -fno-regmove -x c++ -lang-c++ -Wall -w9 -Wno-non-template-friend -V3.4.4,gcc_ntoshle_cpp -fno-default-inline -fcheck-new -ID: hirdpartypocopoco-1.3.3p1Foundationinclude -ID:qnx630 argetqnx6usrincludec++3.4.4ackward D: hirdpartypocopoco-1.3.3p1FoundationsrcDirectoryIterator_UNIX.cpp
qcc -c -o D:sh4-qnx-m630-3.4.4-osp-ntr-rel-STLin hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.o -O3 -fno-strict-aliasing -fno-align-functions -fno-align-labels -fno-align-loops -fno-align-jumps -fno-data-sections -fno-function-sections -fdelayed-branch -fno-gcse -fno-rerun-cse-after-loop -fno-regmove -x c++ -lang-c++ -Wall -w9 -Wno-non-template-friend -V3.4.4,gcc_ntoshle_cpp -fno-default-inline -fcheck-new -ID: hirdpartypocopoco-1.3.3p1Foundationinclude -ID:qnx630 argetqnx6usrincludec++3.4.4ackward D: hirdpartypocopoco-1.3.3p1FoundationsrcFile_UNIX.cpp





