Results 1 to 2 of 2

Thread: [Solved]Parameter Shadowing?

  1. #1
    Join Date
    Nov 2009
    Location
    Austria
    Posts
    30
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default [Solved]Parameter Shadowing?

    Hi quick question

    what could :

    C:/Users/Tobias/Desktop/Schule/AINF/Diplomarbeit/New01/schlichtmuster.cpp:11: error: declaration of 'stack s' shadows a parameter

    mean?

    i just create an object of stack in a function and he says this

    hope someone can help me

    thx tobi
    Last edited by T0bi4s; 13th January 2010 at 18:18.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: [Solved]Parameter Shadowing?

    I bet one of your function parameters is called "stack" as well. Correct?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Slot - Signal with parameter
    By Lodhart in forum Newbie
    Replies: 8
    Last Post: 10th April 2013, 10:08
  2. application parameter problem..
    By triperzonak in forum Newbie
    Replies: 7
    Last Post: 9th February 2009, 01:56
  3. How to add a parameter to a slot
    By Potch in forum Newbie
    Replies: 4
    Last Post: 5th May 2008, 23:09
  4. Passing Ui files as parameter
    By hgedek in forum Newbie
    Replies: 3
    Last Post: 12th December 2007, 12:14
  5. skip function parameter
    By mattia in forum General Programming
    Replies: 4
    Last Post: 22nd November 2007, 15:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.