FLAM® Issue Tracker

View Revisions: Issue #129 All Revisions ] Back to Issue ]
Summary 0000129: Use always fixed size types in format strings
Revision 2013-08-07 11:10 by Ulrich Schwab
Description FLAM internally uses always fixed size types (f.e. I32) but the zLinux cross compilation results in a lot of warings for sizeof, errno and other values, because %d or %u in the format string does not fit with the size of these non FLAM values. In all these cases we must cast the values to I32 or U32 and use %ld or %lu so that our source is 32 and 64 bit as well as more platform independent.

The reason for all these warnings on zLinux is the missing m32 compiler option in the zLinux make file. To prepare 32 and 64 deployments of FL5 for all platforms this change would be usefull.
Revision 2013-08-07 07:49 by Falk Reichbott
Description FLAM use internally allways fix size types (f.e. I32) but the zLinux corss compilation results in a lot of warings for sizeof, errno and other values, because %d or %u in the format string does not fit with the size of theses non FLAM values. In all these cases we must cast the values to I32 or U32 and use %ld or %lu so that our source is 32 and 64 bit as well as more platform indepentant.

The reason for all these warinings on zLinux is the missing W32 compiler option in the zLinux make file. To prepare 32 and 64 deployments of FL5 for all platforms this change would be usefull.


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker