Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-14801

Convert to Pointer fails with macros involved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • Qt Creator 3.5.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      #define BAR bar
      
      void func()
      {
          int foo = 24;
          int bar;
          BAR = foo;
      }

      Convert foo to Pointer results in:

      #define BAR bar
      
      void func()
      *{
          int *foo = 24;
          int bar;
          BAR = foo;
      }

      This affects e.g. qDebug() << foo;

      Attachments

        Issue Links

          Activity

            People

              kosjar Nikolai Kosjar
              orgads Orgad Shaneh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: