freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Logging Library-GSOC


From: Werner LEMBERG
Subject: Re: Logging Library-GSOC
Date: Sat, 06 Jun 2020 06:03:41 +0200 (CEST)

Hello Priyesh,


> This week I have explored several libraries and I have prepared a
> report mentioning their pros and cons @here
> <https://docs.google.com/document/d/1X5ApmVxz0pXcGUCF9Um5VhVZV403LWDIYFbKYg1aLoQ/edit?usp=sharing>

thanks for that.  Very informative.  A quick comment: I think we can
move on, requiring C99 for building FreeType.  This standard is more
than 20 years old...

What is your favourite logging library right now?

> I 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).

Hmm.  Maybe it makes sense to contact the authors or maintainers of
these libraries, asking for advice how Windows support is intended to
work.  Maybe this link also helps

  
https://stackoverflow.com/questions/2150938/can-i-get-unixs-pthread-h-to-compile-in-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?

These are good questions.  Were I the author of such a library, I
would use preprocessor conditionals to surround code that is
platform-dependent, either to disable the functionality, or to provide
a replacement.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]