Opened 2 years ago

Closed 2 years ago

#14860 closed defect (fixed)

safearray.cpp missing guard for wxUSE_OLE == 0

Reported by: staticinline Owned by:
Priority: normal Milestone: 2.9.5
Component: wxMSW Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes

Description

The guard "#if wxUSE_OLE && wxUSE_VARIANT" in safearray.h should also exist in safearray.cpp. Otherwise, safearray.cpp won't compile when wxUSE_OLE is 0. The attached patch fixes this. Other src/msw/ole/*.cpp files already do this type of thing.

Note: safearray.cpp was recently added (r72543, 2012-09-23).

Attachments (1)

safearray.patch download (431 bytes) - added by staticinline 2 years ago.
patch to safearray.cpp

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by staticinline

patch to safearray.cpp

comment:1 Changed 2 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [73049]) Add missing wxUSE_OLE checks to safearray.cpp.

Fix compilation with wxUSE_OLE==0.

Closes #14860.

Note: See TracTickets for help on using tickets.