Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5407

Use of MMP_RULES+= "OPTION ARMCC ..." and others in .pro file overrides definitions in symbian.conf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.1
    • 4.6.0
    • None
    • None
    • fe785ec5fa818b3b31777d22b434621522a532b4

    Description

      If someone in their .pro files writes MMP_RULES += "OPTION ARMCC <some option>", we lose our configuration options "OPTION ARMCC --visibility_inlines_hidden --fpu softvfp --diag_suppress 111,185,191,368,1293,1294,2874". Therefore if anyone wants to do this, they also have to make sure they take our configuration options from symbian.conf

      Certainly we want to retain --visibility_inlines_hidden. Do we want to separate out optional from mandatory compiler flags? The problem is with that scheme, you could quite easily just want to add one option, and you'd end up accidentially replacing some of our options that we thought you might want to override. Or alternately, you might want to override an option that we considered mandatory. (This is why Symbian has OPTION and OPTION_REPLACE, to make it clear what you're doing)

      Possible fix - append theirs to ours (prepend in the GCCE case?). Then they would just do what we do, which is to override options on the command line be repeating the same option but later, which causes the compiler/linker/whatever to use that instead.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            iacampbe Iain (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes