Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alex037yang
OpenXG-RAN
Commits
dc8190dc
Commit
dc8190dc
authored
Jan 16, 2017
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue with #pragma warnings in liblfds
parent
8d3368b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700.h
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700.h
+3
-3
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_misc.h
...FDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_misc.h
+1
-1
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.c
...ds700/src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.c
+4
-4
No files found.
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700.h
View file @
dc8190dc
...
...
@@ -4,9 +4,9 @@
#define LIBLFDS700_H
/***** pragmas on *****/
#pragma warning( disable : 4324 ) // TRD : 4324 disables MSVC warnings for structure alignment padding due to alignment specifiers
//
#pragma warning( disable : 4324 ) // TRD : 4324 disables MSVC warnings for structure alignment padding due to alignment specifiers
#pragma prefast( disable : 28113 28182 28183, "blah" )
//
#pragma prefast( disable : 28113 28182 28183, "blah" )
/***** includes *****/
#include "liblfds700/lfds700_porting_abstraction_layer_compiler.h"
...
...
@@ -25,7 +25,7 @@
#include "liblfds700/lfds700_stack.h"
/***** pragmas off *****/
#pragma warning( default : 4324 )
//
#pragma warning( default : 4324 )
#endif
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_misc.h
View file @
dc8190dc
...
...
@@ -175,7 +175,7 @@ void lfds700_misc_prng_init( struct lfds700_misc_prng_state *ps );
void
lfds700_misc_query
(
enum
lfds700_misc_query
query_type
,
void
*
query_input
,
void
*
query_output
);
/***** public in-line functions *****/
#pragma prefast( disable : 28112, "blah" )
//
#pragma prefast( disable : 28112, "blah" )
static
LFDS700_PAL_INLINE
void
lfds700_misc_force_store
()
{
...
...
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.c
View file @
dc8190dc
...
...
@@ -31,7 +31,7 @@ void lfds700_ringbuffer_cleanup( struct lfds700_ringbuffer_state *rs,
/****************************************************************************/
#pragma warning( disable : 4100 )
//
#pragma warning( disable : 4100 )
static
void
lfds700_ringbuffer_internal_queue_element_cleanup_callback
(
struct
lfds700_queue_state
*
qs
,
struct
lfds700_queue_element
*
qe
,
enum
lfds700_misc_flag
dummy_element_flag
)
{
...
...
@@ -54,14 +54,14 @@ static void lfds700_ringbuffer_internal_queue_element_cleanup_callback( struct l
return
;
}
#pragma warning( default : 4100 )
//
#pragma warning( default : 4100 )
/****************************************************************************/
#pragma warning( disable : 4100 )
//
#pragma warning( disable : 4100 )
static
void
lfds700_ringbuffer_internal_freelist_element_cleanup_callback
(
struct
lfds700_freelist_state
*
fs
,
struct
lfds700_freelist_element
*
fe
)
{
...
...
@@ -82,5 +82,5 @@ static void lfds700_ringbuffer_internal_freelist_element_cleanup_callback( struc
return
;
}
#pragma warning( default : 4100 )
//
#pragma warning( default : 4100 )
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment