Commit Graph

5 Commits (d1320f692e8bb84d3c749d3a01ea129b9ba7e20f)

Author SHA1 Message Date
Michail Vourlakos 976bf2f684 add ENABLE_MAKE_UNIQUE flag for older gcc versions
-- fix #754
-- make_unique function is not available for gcc<=4.8.x
by enabling this flag in through install script or through
cmake such systems can build latte correctly
7 years ago
Michail Vourlakos f6cd9eccde remove never executed code
--by setting minimum requirement to C++14
we need by default  make_unique()
7 years ago
0140454 7bdf1ccb23 Include necessary header file for std::abs
While compiling Latte-Dock, i got the following error:

/data/latte-dock/src/latte-dock-git/app/iconitem.cpp:393:46:   required from here
/data/latte-dock/src/latte-dock-git/app/../liblattedock/extras.h:69:20: error: call of overloaded ‘abs(double)’ is ambiguous
     return std::abs(x - y) < std::numeric_limits<T>::epsilon() *
     std::abs(x + y) * ulp

In order to solve this error, i have to include `cmath`.
8 years ago
Johan Smith Agudelo Rodriguez 8539a5da54 formatted. 8 years ago
Johan Smith Agudelo Rodriguez c79cbac0a6 utilities functions 8 years ago