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

Convert to Pointer fails with macros involved

XMLWordPrintable

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

      #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;

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes