Hey,
This week I have explored several libraries and I have prepared a report mentioning their pros and cons @
hereI am using Visual Studios 2019 to build libraries on windows, and while exploring the external libraries I have seen that most of the
libraries use <unistd.h> and <pthread.h> which are not supported on windows (even though it is mentioned in the documentation that
the library supports Windows).
I have also tried Cygwin to compile these libraries on windows but got no success...
Is there a way to compile these libraries on windows other than using Visual Studios and Cygwin? More importantly, should I consider
such libraries?
One more thing that I have noticed is that most of the libraries provide tags that could be printed with log messages.
So, I was thinking to use something like this in ftdebug.h to print the tracing component:
#define FT_COMPONENT( x ) FT_COMPONENT_TAG_( x )
#define FT_COMPONENT_TAG_ #x
#define FT_TRACE( level, varformat )
do \
{ \
if ( ft_trace_levels[FT_TRACE_COMP( FT_COMPONENT )] >= level ) { \
set_tag( FT_COMPONENT_TAG( FT_COMPONENT ) ); \
FT_Log varformat; \
} while( 0 ) \
Please, look into the report and let me know if there are any concerns...
Thanks,
Priyesh