Commit Graph

24 Commits

Author SHA1 Message Date
Jan Engelhardt
82377e0342
Build: add FreeBSD & libc++ compilation support (#288)
* build: add FreeBSD compilation support

* build: unbreak compilation with clang libc++

unary_function is obsolete with C++11 and removed in C++17.
gnu-gcc-libstdc++ still has the class, but llvm-clang-libc++ does
not, and there is a compile error.

vmime should have just stopped using unary_function with commit
v0.9.2-48-g8564b2f8.

	$ cat x.cpp
	$ clang++ -std=c++17 -stdlib=libc++ -c x.cpp
	In file included from x.cpp:1:
	In file included from /usr/local/include/vmime/net/transport.hpp:34:
	In file included from /usr/local/include/vmime/net/service.hpp:36:
	In file included from /usr/local/include/vmime/net/session.hpp:40:
	In file included from /usr/local/include/vmime/utility/url.hpp:30:
	/usr/local/include/vmime/propertySet.hpp:339:33: error: no template named
	/'unary_function' in namespace 'std'; did you mean '__unary_function'?
		class propFinder : public std::unary_function <shared_ptr <property>, bool> {
					  ~~~~~^~~~~~~~~~~~~~
					       __unary_function
2023-12-31 15:22:36 +01:00
Jan Engelhardt
1a35bb6d71
Build: add Solaris compilation support (#282) 2023-11-09 20:32:47 +01:00
Vincent Richard
8564b2f8b0 #193 Dropped support for boot::shared_ptr<>, enabled C++11 support in CMake 2018-04-01 11:29:07 +02:00
Vincent Richard
243efb267f Fixed #177: thread id on OpenBSD. 2017-08-09 20:39:54 +02:00
Vincent Richard
d2b3f98ba1 Fixed #171: cross-compiling detection. 2017-05-04 21:38:50 +02:00
Vincent Richard
8146d80e0c Removed unused VMIME_TARGET_* defines. 2017-04-26 19:07:24 +02:00
0xd34df00d
1862f165c2 Remove target architecture detection. 2017-04-08 20:02:34 -04:00
Vincent Richard
b133ce8cfb Fixed #142: fixed install location of generated headers. 2016-09-19 21:08:35 +02:00
Vincent Richard
4d1a6ad2f2 Issue #138: fixed MSG_NOSIGNAL on Mac OS. 2016-04-25 08:28:34 +02:00
Vincent Richard
08a3ba2ba1 Misc fixes in error handling. 2016-03-25 21:50:35 +01:00
Vincent Richard
194a797055 Asynchronous resolving. 2016-03-02 20:33:55 +01:00
Vincent Richard
baec395c8c Added support for TCP Keepalive. 2016-02-28 20:43:43 +01:00
Vincent Richard
d49ce7cd4d Windows charset converter (thanks to ElmüSoft). 2014-02-06 21:29:59 +01:00
Vincent Richard
152c6bed75 Merged source and header files in directory structure. Got rid of SConstruct build. 2013-12-29 10:02:12 +01:00
Vincent Richard
f9913fa28a Boost/C++11 shared pointers. 2013-11-21 22:16:57 +01:00
Vincent Richard
5084db331c Added support for standard 64-bit integer type. 2013-09-02 10:12:08 +02:00
Vincent Richard
fdeaec5e05 64-bit type detection. 2013-07-15 10:35:09 +02:00
Vincent Richard
69d552a87b Export class and functions in shared libraries. 2013-05-12 16:51:40 +02:00
Vincent Richard
9d2703c376 Added support for charset conversion with ICU (thanks to Mehmet Bozkurt). 2013-03-25 12:32:48 +01:00
Vincent Richard
ddf3cff495 Check for MLang on Windows platform. 2013-02-10 21:12:41 +01:00
Vincent Richard
c2474f2b2b Check for localtime_r and gmtime_r at build instead of testing _REENTRANT. Use localtime_s and gmtime_s on Windows, if available. 2013-02-05 14:21:21 +01:00
Vincent Richard
3a5621c2aa Trivial 64-bit warning fixes. 2012-12-12 16:35:55 +01:00
Vincent Richard
bc63892291 OpenSSL support (thanks to Mehmet Bozkurt). 2012-11-03 09:27:12 +01:00
Vincent Richard
cce1c28bce Migrated build system to CMake. Conditional file compilation. Automatic selection of platform handler. 2012-11-01 18:20:06 +01:00