• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
warning: declaration does not declare anything
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

warning: declaration does not declare anything


  • Subject: warning: declaration does not declare anything
  • From: Erg Consultant <email@hidden>
  • Date: Sat, 16 May 2009 11:56:26 -0700 (PDT)

I have a Windows-like structure in my C++ code which I compile with XCode 3.1.2:

struct __tagBRECORD
{
                        PVOID        pvRecord;
                         
                         #ifndef TARGET_OS_MAC
                         
                         IRecordInfo *pRecInfo;
                       
                          #endif
} __VARIANT_NAME_4;

This always returns a warning on the last line:

warning: declaration does not declare anything

What does this warning mean and how can I get rid of it?

Erg


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: warning: declaration does not declare anything
      • From: "Sean McBride" <email@hidden>
    • Re: warning: declaration does not declare anything
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Release Version Not Appearing
  • Next by Date: Java Debugger in XCode 3.1.2 hangs when inspecting variables
  • Previous by thread: Re: Preprocess Info.plist for Single-File Tool
  • Next by thread: Re: warning: declaration does not declare anything
  • Index(es):
    • Date
    • Thread