1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-01 22:57:33 +02:00

merge my previous changes for __STDC_FORMAT_MACROS

This commit is contained in:
Vadim Kurland 2012-02-14 10:59:46 -08:00
commit f9fa1ecbaa
4 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2012-02-13 Vadim Kurland <vadim@netcitadel.com>
* qmake.inc.in (QMAKE_CXXFLAGS_DEBUG): fix for SF bug #3468802.
Need to define macro __STDC_FORMAT_MACROS. This still needs to be
tested on all build machines.
build 3594
2012-01-02 Vadim Kurland <vadim@netcitadel.com>
* PolicyCompiler_ipt.cpp (specialCaseAddressRangeInRE::processNext):

View File

@ -79,6 +79,9 @@ FWB_SIG = $$(FWB_SIG)
if (isEmpty(FWB_SIG)) { FWB_SIG=26932 }
DEFINES += FWB_SIG=$$FWB_SIG
QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS
QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS
exists(qmake2.inc) {
include(qmake2.inc)
}

View File

@ -43,6 +43,9 @@ unix {
doc.path = @DOCDIR@
}
QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS
QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS
exists(qmake2.inc) {
include( qmake2.inc)
}

View File

@ -36,7 +36,7 @@
#include <stdio.h>
#define __STDC_FORMAT_MACROS
// #define __STDC_FORMAT_MACROS
#include <inttypes.h> // for sprintf formats for "long long"
// convinience macro