Changeset View
Changeset View
Standalone View
Standalone View
net-im/libqtelegram-ae/files/patch-libqtelegram-ae.pro
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
C++11 does not allow narrowing of integer types by default -- however multiple | |||||
constants defined in the code are too large to fit into a signed int, and rely | |||||
on the narrowing behaviour. | |||||
--- libqtelegram-ae.pro.orig 2017-02-10 23:08:39 UTC | |||||
+++ libqtelegram-ae.pro | |||||
@@ -25,6 +25,11 @@ linux { | |||||
} | |||||
} | |||||
+# Explictely allow narrowing of integer types | |||||
+clang { | |||||
+ QMAKE_CXXFLAGS += -Wno-c++11-narrowing | |||||
+} | |||||
+ | |||||
!contains(CONFIG, no_install) { | |||||
isEmpty(PREFIX) { | |||||
isEmpty(INSTALL_HEADERS_PREFIX): INSTALL_HEADERS_PREFIX = $$[QT_INSTALL_HEADERS] |