c++ - How to suppress this - qglobal.h:320:6: warning: #warning "This version of Mac OS X is unsupported"? -
i encountering following warning
/path/qtsdk/desktop/qt/474/gcc/include/qtcore/qglobal.h:320:6: warning: #warning "this version of mac os x unsupported"
here qglobal.h
301 #ifdef q_os_darwin 302 # ifdef mac_os_x_version_min_required 303 # undef mac_os_x_version_min_required 304 # endif 305 # define mac_os_x_version_min_required mac_os_x_version_10_4 306 # include <availabilitymacros.h> 307 # if !defined(mac_os_x_version_10_3) 308 # define mac_os_x_version_10_3 mac_os_x_version_10_2 + 1 309 # endif 310 # if !defined(mac_os_x_version_10_4) 311 # define mac_os_x_version_10_4 mac_os_x_version_10_3 + 1 312 # endif 313 # if !defined(mac_os_x_version_10_5) 314 # define mac_os_x_version_10_5 mac_os_x_version_10_4 + 1 315 # endif 316 # if !defined(mac_os_x_version_10_6) 317 # define mac_os_x_version_10_6 mac_os_x_version_10_5 + 1 318 # endif 319 # if (mac_os_x_version_max_allowed > mac_os_x_version_10_6) 320 # warning "this version of mac os x unsupported" 321 # endif 322 #endif
i on 10.7 , hence warning. how suppress it?
also there serious consequences? program otherwise getting compiled fine.
why not download latest qt installer from:
i see "mac os x 10.6 or later (64-bit)" download right there on page.
Comments
Post a Comment