- 04 Nov, 2013 2 commits
-
-
Daniel Teske authored
Task-number: QTCREATORBUG-10599 Change-Id: I091db84c81b0ad031744142568cc37d648e9dfb7 Reviewed-by:
Andy Shaw <andy.shaw@digia.com> Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Tobias Hunger authored
No longer use the undocumented __X86_64 macro to decide on the word width of a tool chain target. Use __SIZEOF_SIZE_T__ instead. That is documented to be set and should also be applicable outside of the intel x86 world. Some versions of mingw do not define __X86_64 on 64bit intel machines and thus are not properly detected. Update unit tests that try to guess the ABI to use the new macro instead and fix the fallout. Side effect: Some abis are detected in a different sequence now. That should not change the tool chains though as the ABI that is actually used is stored extra and does not referrence that list. Task-number: QTCREATORBUG-10584 Change-Id: Ia9e5909cdff3b057ef74b24c0f2d654a14253c21 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 29 Oct, 2013 7 commits
-
-
Tobias Hunger authored
Make the retrieval of information on pre-defined macros more explicit and use the information to populate the tool chain with after it is constructed. This avoids doing one run of the compiler per auto-detected debugger during the start-up of Qt Creator. Change-Id: Ie741dccede91079b4126056676c31975f340dbae Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Tobias Hunger authored
Considering that this is a Noop by default we want that inlined. Change-Id: Iefd822ad9e5fc576fb538d9b891f6e3ed3b914aa Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Tobias Hunger authored
Make the macro Cache accessible to derived classes. This is done so that we can populate that cache with the data the factory/config widget already has and thus reducing the number of times we need to run the compiler. Change-Id: I5ea72a0688c765ae995db66dde3ed6f6672198b6 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Tobias Hunger authored
Code cosmetics: Shorten gccPredefinedMacroOptions and move it to the method that is actually related to that functionality. Change-Id: I8aae1fd89f58d798f5bec95f16c7b92c44546e4d Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Tobias Hunger authored
Do not warn that the macro data is invalid if gcc failed to run. This avoids spurious warnings when giving a non-executable file, etc. Change-Id: I52d731bf2b9a6fc12faaa74d70488125bffd9299 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Tobias Hunger authored
Change-Id: I8121267044b533a882dc9cc15209baa13e37ba6c Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
El Mehdi Fekari authored
Qcc compiler doesn't support "dumpmachine" option provided by the gcc to get a list of supported abis from the compiler, and needs to pass -Wp option when running qcc to get predefined macros and header paths. GccToolChain fails to get those information from qcc and print warning messages on the console. This patch adds new QccToolChain class and reinterprets the compiler options to detect predefined macros and header paths. It also provids list of supported abis and suggested mkspecs. Task-number: QTCREATORBUG-10116 Change-Id: Ic48d5c58c5b957f5a8536248888c9a63ca499f34 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 15 Oct, 2013 1 commit
-
-
Christian Kandeler authored
With Nokia's decision to stop support for Harmattan applications in their app store, the last remains of a use case have disappeared. Change-Id: Ia036112de01c8c3a866da3529b4a941db11c7358 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 30 Sep, 2013 1 commit
-
-
Eike Ziller authored
Adds macx-ios-clang to the list of "suggested" mkspecs for Clang/Mac. Change-Id: I3c3f803d651c42e1c2ed7a0f77047a531acf6a0c Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@digia.com> Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
- 11 Sep, 2013 1 commit
-
-
Leena Miettinen authored
Fix grammar, punctuation, and style issues. Use standard wording for QDoc commands. Remove \brief commands from function descriptions. Move some function descriptions directly above the functions, so that the \fn command can be removed. Change-Id: Iedf4f0041af24541a982241f99bd4906e86af916 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 04 Sep, 2013 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I177094f19978e07f85e42b34701d8f03cd26665e Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
- 03 Sep, 2013 3 commits
-
-
Friedemann Kleint authored
Replace boolean "autodetect" by an enumeration with a value AutoDetectionFromSettings indicating whether the Autodetection originates from a settings file. Enable the "Remove" button for those cases. Currently, there is no way to remove toolchains that were once autodetected and are no longer present. This happens for example when working in different MinGW environments, which then clutter up the toolchain options page and dramatically slow down the options page opening since gcc is launched to query the flags, etc. Change-Id: I731168d8694fe56f60d909f9779f83cffa55fd44 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Friedemann Kleint authored
Change-Id: I5ed05307531f0d3a7850fb251cfa5cbd2a75e09f Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Friedemann Kleint authored
Fixes: SOFT ASSERT: "predefinedMacros.startsWith("#define ")" in file .\gcctoolchain.cpp for MinGW since the g++ - invocation to determine the macros causes g++ to launch a subprocess which then fails. Change-Id: If4e7b302ac57f7cbed4982a468bcb1cb3b39f028 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 23 Aug, 2013 1 commit
-
-
Tobias Hunger authored
This code is moved from the gcc toolchain into the ABI class so that the debugger can reuse it. Change-Id: I9932f41f69eff9ce5982cfb1f0a2e0add33b91c9 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 12 Aug, 2013 1 commit
-
-
hjk authored
Change-Id: I70dba496c4d1eeb9c6767080d179f86f20c1b107 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 29 Jul, 2013 1 commit
-
-
Fawzi Mohamed authored
disabled editing for platformCodeGenFlags and platformLinkerFlags fields. Change-Id: I16e5009064bbaf4f592a385655d10a15700f8742 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 25 Jul, 2013 3 commits
-
-
Tobias Hunger authored
Change-Id: Ib6054d4e3348a39eddfc6b41c3a530f1d4d199f0 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Tobias Hunger authored
Change-Id: I5a5d9cda5aba60cbf20b54934dde3ecdccdd99e3 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Tobias Hunger authored
If a gcc is broken: Do time out earlier and do not try to run it a second time. Change-Id: I8742e507c8aaf4b9174848555f057840ee03ad22 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 25 Jun, 2013 1 commit
-
-
Eike Ziller authored
Clang obviously takes PWD as a basis for source paths in debug information (AT_comp_dir) if it is set. Since the build tools are not executed in a shell that would set PWD to a sensible value, debug information with Clang is broken if the build environment got a wrong PWD to start with, for example by starting Qt Creator from a shell (which sets PWD). Workaround is to explicitly unset PWD for the build environment used for the Clang tool chain. Task-number: QTCREATORBUG-8825 Change-Id: Ia3e47693121edd61b0ea43bddbb1fcaaac9eb390 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 02 May, 2013 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I2a5707f04175ef96d678e57b7c61fb8d6cec4d75 Reviewed-by:
Sergey Shambir <sergey.shambir.auto@gmail.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
- 30 Apr, 2013 2 commits
-
-
Sergey Shambir authored
Now it provides information about C language standard and C++ extensions. No new behavior added to project managers. Change-Id: Ib7c19641f452a75c9b14cd7e33d104dcd1603720 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Fawzi Mohamed authored
Add platformCodegenFlags and platformLinkerFlags to gcc toolchain. This also improves support of compilers (like clang) that can support different architectures by passing the correct flags, but are not detected without passig them. Change-Id: If707558e704f554f27fde7948f7601c5d11835ce Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 23 Apr, 2013 1 commit
-
-
Sergey Shambir authored
Converts toolchain-specific flags in QFlags. Will be useful for ClangCodeModel. Change-Id: I2cff650c952f7c41d3a27535a27fa52b932a0b92 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 26 Mar, 2013 1 commit
-
-
Friedemann Kleint authored
Change-Id: If61a8a91d2a39c5c97974a5bfcef91892b68d3f1 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 15 Mar, 2013 1 commit
-
-
Tobias Hunger authored
Change-Id: I1e0afe4158f179250b2e0c0ca92c17e01fc5fc4f Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 04 Mar, 2013 1 commit
-
-
Sergey Shambir authored
Added filtering for -fopenmp and options listed here: http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html Change-Id: I06cb9417db54ff6f4ae22bf0493ca78a13042c38 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 25 Feb, 2013 1 commit
-
-
Tobias Hunger authored
Task-number: QTCREATORBUG-8789 Change-Id: I7fd782a789cea2f3ad6186018b975167a578f716 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 01 Feb, 2013 1 commit
-
-
Daniel Teske authored
Improve isValid for GccToolChain and MsvcToolChain to make that sane. Change-Id: If45cdb4e2666dd1a2ee16c01cb65427362ec29da Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 29 Jan, 2013 2 commits
-
-
Sergey Shambir authored
Change-Id: Ia5e92efd325b3164cc6d67b1469d5a63a0238aca Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 09 Jan, 2013 1 commit
-
-
Tobias Hunger authored
Change-Id: Ie12251ec704bdf2260661ed6fed86e67610b3f86 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 08 Jan, 2013 1 commit
-
-
Orgad Shaneh authored
#!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by:
hjk <qthjk@ovi.com>
-
- 11 Dec, 2012 1 commit
-
-
Sergey Shambir authored
Predefined macro set will be renewed correctly in qmake subprojects or when flags was changed and project file resaved Change-Id: Iffba9176083f5d8e5fbb39d2c02d48cef4a28e71 Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 04 Dec, 2012 1 commit
-
-
Orgad Shaneh authored
Change-Id: I84d9526449b8ca6cdcf8296e353c5d892d5f942d Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
- 03 Dec, 2012 1 commit
-
-
Sergey Shambir authored
Change-Id: I826951ea9156fe67743e7b68fc08b5192baaad3f Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 21 Nov, 2012 1 commit
-
-
Tobias Hunger authored
Switching the stdlib implementation is possible with clang and results in different include pathes being used (and potentially different defines). Change-Id: I9c856256f51ceded9dc7892c1dde2bcc8c1b024c Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-