Commit graph

22 commits

Author SHA1 Message Date
John Emmas
8b5474b9e1 For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented 2015-04-24 19:11:10 +01:00
John Emmas
5ec93d18e1 When building with MSVC add a couple of new pragmas to cut down on the most frequent compiler warnings, namely:-
1) C4244 (conversion loses data) - e.g. when re-assigning a var of (say) int64_t to a lesser type, such as int32_t

2) C4275 (an exported class was derived from a class which is not exportable) - e.g. when deriving classes from std::set, std::exception or some other class which isn't declared with 'dllexport'
2015-02-13 11:37:00 +00:00
John Emmas
f598105966 Add support for the C99 function 'log2()' which is newly needed by 'gtk2_ardour/tempo_lines.cc' (but isn't available from MSVC).
These changes are MSVC specific and shouldn't affect the other builds.

(incidentally, libpbd already offers a function called 'fast_log2()'. Not sure if that could have been used instead...)
2015-01-10 11:56:24 +00:00
David Robillard
324ab35abc Use precise define names for LV2 version configure checks. 2014-10-31 20:46:09 -04:00
John Emmas
8d12ebd972 MSVC - add support for 'HAVE_NEW_LV2'
(after updating to the latest versions of serd, sord, sratom and lilv)
2014-10-08 15:11:27 +01:00
John Emmas
fa45202811 Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflict with more recent versions of MSVC 2014-06-04 18:20:33 +01:00
John Emmas
57f09d5d9d Now that we can build with VST support, make sure our MSVC build knows about it 2014-04-14 16:14:07 +01:00
John Emmas
80e1b42ed5 When finding (MSVC built) panner DLLs, make sure we only find ones that match our build target
Will most likely also need to get done for similarly "discovered" DLLs (backends / surfaces etc). TBC
2014-03-18 17:32:39 +00:00
John Emmas
5d8da11f4b Add provision for building 'libtimecode' as a DLL (MSVC build) 2014-01-13 14:27:56 +00:00
John Emmas
8e51a6c84f Check in some minor modifications (to MSVC specific headers) 2014-01-13 10:22:31 +00:00
John Emmas
7d78172abf Miscellaneous additions to 'msvc_extra_headers' 2013-10-06 11:01:25 +01:00
John Emmas
70dcf7878b Define 'suseconds_t' which isn't normally defined for Windows 2013-09-25 15:56:01 +01:00
John Emmas
9b6687ff3f Modify 'ardourext/misc.h' so that it only uses C++ constructs when the compilation is cplusplus 2013-08-27 17:10:46 +01:00
John Emmas
060c56cc3f Minor tweaks to MSVC build (hopefully of little consequence) 2013-08-26 17:50:17 +01:00
John Emmas
490311bc08 'libs/ardour' - Main body of changes required for building with MSVC 2013-08-04 15:36:07 +01:00
John Emmas
369c0e4a66 'libs/midi++2' - Modify to be buildable with MSVC 2013-07-25 07:19:51 +01:00
John Emmas
b8109ef87e Add an empty 'unistd.h' to stop the compiler complaining when it gets unnecessarily #included 2013-07-24 19:09:29 +01:00
John Emmas
53f1cb2a0f Modify 'libs/vamp-plugins' to be buildable with MSVC 2013-07-20 08:30:40 +01:00
John Emmas
ab628ae3c3 JOHNE - remove my earlier test file 2013-07-17 18:18:02 +01:00
John Emmas
5f15bc9f9f Merge branch 'windows' of git.ardour.org:ardour/ardour into windows 2013-07-17 18:15:51 +01:00
John Emmas
82d351f6ca JOHNE - Testing to see if I have write access to the repo 2013-07-17 16:55:24 +01:00
John Emmas
eeabf89d19 Miscellaneous header files (needed for building libpbd with MSVC) 2013-07-17 14:55:20 +01:00