Tighten Pro
C/C++/Cocoa tool for codesign security, Developer ID, & Mac App Store Receipt Validation

Tighten Pro - in the Mac App Store

Tighten Pro is now available in the Mac App Store. Simply click on the icon to the left to purchase directly from Apple. Or choose PKCS#7Viewer.app by clicking the image to the right.

4.19.2011
Mac Developer: GCC warning: __attribute__((always inline))

If you generate a store implementation with inlining checked and GCC complains about __attribute__((always_inline)), you can either change the generation options or remove the always inline attribute:

/* inline function prototype attributes macro */
#ifndef APPTITE_INLINE_ATTR
#ifdef _DEBUG
#define APPTITE_INLINE_ATTR __attribute__((always_inline))
#else
#define APPTITE_INLINE_ATTR __attribute__((always_inline)) __attribute__((nodebug))
#endif
#endif


Change the APPTITE_INLINE_ATTR preprocessor define to remove the ((always inline)) attribute:

/* removed always inline attribute */
#ifndef APPTITE_INLINE_ATTR
#ifdef _DEBUG
#define APPTITE_INLINE_ATTR
#else
#define APPTITE_INLINE_ATTR __attribute__((nodebug))
#endif
#endif

Labels:

By : Tighten GCC warning: __attribute__((always inline))

0 Comments:

Post a Comment

[ Home ]

 

 

 
 
 

 Tighten    
 Generate    
 Secure    
 Inspect    
 Quarantino    
 Downloads    
 Support    
 Documentation    
 Tighten App.app    
 Tighten Pro.app    
 PKCS#7Viewer.app    
 About    
 Hire    
 Contact    
 Blogger    
 FaceBook    
 iTunes Direct Link    
 Hollywood CA    
 spctl --assess -vvv    
 spctl --master-enable    
 spctl --master-disable    
 Mac App Store Receipt Validation    
 Apple Code Signing Certificates    
 Gatekeeper Developer ID Apple    
 Xcode codesign tutorial    
 [Site Map]    
 


Copyright © 2005-2015
All Rights Reserved
Tighten Pro