[Ecls-list] MinGW: pthread types vs. ECL headers

Samium Gromoff _deepfire at feelingofgreen.ru
Fri Apr 2 17:08:50 UTC 2010


Compiling a C app with tip-of-master's headers results in:

make[1]: Entering directory `/d/usr/src/common-db'
make[1]: Leaving directory `/d/usr/src/common-db'
make[1]: Entering directory `/d/usr/src/mcoredb/gate'
g++ -Os -g -I/d/usr/src/ecl-bin/include -Iinclude  -c -o model3-comdb-gate.o model3-comdb-gate.cpp
In file included from d:/usr/src/ecl-bin/include/ecl/ecl.h:75,
                 from model3-comdb-gate.cpp:10:
d:/usr/src/ecl-bin/include/ecl/object.h:895: error: `pthread_t' does not name a type
d:/usr/src/ecl-bin/include/ecl/object.h:910: error: `pthread_mutex_t' does not name a type
d:/usr/src/ecl-bin/include/ecl/object.h:915: error: `pthread_cond_t' does not name a type

This is MinGW, same commit I referred to in the previous message.


-- 
regards,
  Samium Gromoff
--
"Actually I made up the term 'object-oriented', and I can tell you I
did not have C++ in mind." - Alan Kay (OOPSLA 1997 Keynote)




More information about the ecl-devel mailing list