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 #47484 is a reply to message #47476] Sat, 21 January 2017 12:45 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Klugier wrote on Fri, 20 January 2017 21:27
Hello,

So, if GCC supports #pragma push, pop should we have following code now (Used several times in bmphdr.h!):
#ifdef COMPILER_GCC
__attribute__((packed))
#endif


I think it could be redundant, but I am not sure - so I am waiting for your opinion.

Sincerely,
Klugier


Not sure. In these matters all I can say: if it does work, do not break it.

Perhaps some compiler version has attribute working and pack pragma not. Or vice versa. Current MINGW certainly has attribute broken...
 
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:40:27 CEST 2025

Total time taken to generate the page: 0.04256 seconds