diff options
author | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2010-10-01 13:47:35 -0700 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2010-10-02 00:28:23 -0700 |
commit | 1987318f351c042d61b8e5b5279e1f0e5e6a6f5d (patch) | |
tree | 0607b95b27618d927633aa8bbc51a099ab1dae90 | |
parent | d1538bee65884a94d884c25415381b89d53ef5a2 (diff) |
cleanup: remove #pragmas that cause warnings and clutter the build
They are useless in GCC anyway.
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
4 files changed, 4 insertions, 6 deletions
diff --git a/InfraStack/OSAgnostic/OSInterface/InfraStackModules/KDapi.h b/InfraStack/OSAgnostic/OSInterface/InfraStackModules/KDapi.h index b446061..754e7ac 100644 --- a/InfraStack/OSAgnostic/OSInterface/InfraStackModules/KDapi.h +++ b/InfraStack/OSAgnostic/OSInterface/InfraStackModules/KDapi.h @@ -31,8 +31,6 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef KDAPI_H #define KDAPI_H -#pragma warning(disable : 4201) // warning C4201: nonstandard extension used : nameless struct/union - #include "CommonServices.h" #include "wimax_osal_types.h" @@ -103,4 +101,4 @@ void CheckForDriverFailed(); void KDAPI_ResetDevice(); -#endif /* KDAPI_H */
\ No newline at end of file +#endif /* KDAPI_H */ diff --git a/InfraStack/OSAgnostic/Product/AppSrvInfra/KDapiAdapter.c b/InfraStack/OSAgnostic/Product/AppSrvInfra/KDapiAdapter.c index f9600fb..f2bc196 100644 --- a/InfraStack/OSAgnostic/Product/AppSrvInfra/KDapiAdapter.c +++ b/InfraStack/OSAgnostic/Product/AppSrvInfra/KDapiAdapter.c @@ -28,7 +28,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -#pragma warning(disable : 4201) // warning C4201: nonstandard extension used : nameless struct/union +//#pragma warning(disable : 4201) // warning C4201: nonstandard extension used : nameless struct/union #include "KDapiAdapter.h" #include "SVstatus.h" diff --git a/InfraStack/OSAgnostic/Product/AppSrvInfra/L5SocketsDispatcher.h b/InfraStack/OSAgnostic/Product/AppSrvInfra/L5SocketsDispatcher.h index e0fae0b..f523496 100644 --- a/InfraStack/OSAgnostic/Product/AppSrvInfra/L5SocketsDispatcher.h +++ b/InfraStack/OSAgnostic/Product/AppSrvInfra/L5SocketsDispatcher.h @@ -30,7 +30,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ #pragma once -#pragma warning(disable : 4127) // warning C4201: nonstandard extension used : nameless struct/union +////#pragma warning(disable : 4127) // warning C4201: nonstandard extension used : nameless struct/union ////////////////////////////////////////////////////////////////////////// // Headers diff --git a/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/tls-wpa.h b/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/tls-wpa.h index c79c551..4676c3e 100644 --- a/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/tls-wpa.h +++ b/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/tls-wpa.h @@ -96,7 +96,7 @@ struct tls_connection_params { #ifdef CONFIG_API_H swc_config_t #else -#pragma message("TLS.H build as supplicant agnostic") + //#pragma message("TLS.H build as supplicant agnostic") void #endif *sc; |