Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » FileSelPreview - No previews bmp files (UPP 10694, 64bit, GCC, C++11) (Not work with bmp - plugin/bmp (UPP 10694, 64bit, GCC, C++11))
Re: FileSelPreview - No previews bmp files (UPP 10694, 64bit, GCC, C++11) [message #47473 is a reply to message #47449] Fri, 20 January 2017 14:37 Go to previous messageGo to previous message
SergeA is currently offline  SergeA
Messages: 13
Registered: October 2015
Location: Ukraine
Promising Member
upp-mingw-10732, file upp\uppsrc\plugin\bmp\bmphdr.h

Hello!
I'm not sure that it is necessary to specify COMPILER_GCC here.
#if defined(COMPILER_MSC) || defined(COMPILER_GCC)
#pragma pack(push, 1)
#endif

..........

//#ifdef COMPILER_MSC
#if defined(COMPILER_MSC) || defined(COMPILER_GCC)
#pragma pack(pop)
#endif


Rather MINGW as he sharpened by compatibility with visualc therefore likely
#if defined(COMPILER_MSC) || defined(COMPILER_MINGW)
#pragma pack(push, 1)
#endif

..........

//#ifdef COMPILER_MSC
#if defined(COMPILER_MSC) || defined(COMPILER_MINGW)
#pragma pack(pop)
#endif

[Updated on: Fri, 20 January 2017 14:41]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Incorrect header in ppm.h
Next Topic: bug: declaring widget as global
Goto Forum:
  


Current Time: Sun Aug 24 09:43:29 CEST 2025

Total time taken to generate the page: 0.03482 seconds