Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
f5902a47
Commit
f5902a47
authored
Mar 14, 2014
by
Erik de Castro Lopo
Browse files
Fix pragma warning.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
parent
7cbecbae
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/FLAC++/metadata.h
View file @
f5902a47
...
...
@@ -241,8 +241,7 @@ namespace FLAC {
{
return
(
bool
)
::
FLAC__metadata_object_is_equal
(
object_
,
object
);
}
#ifdef _MSC_VER
// @@@ how to re-enable? the following doesn't work
// #pragma warning ( enable : 4800 )
#pragma warning ( default : 4800 )
#endif
inline
bool
Prototype
::
operator
!=
(
const
Prototype
&
object
)
const
...
...
src/test_libFLAC++/encoders.cpp
View file @
f5902a47
...
...
@@ -35,6 +35,11 @@ extern "C" {
#include
<string.h>
#include
"share/compat.h"
#ifdef _MSC_VER
// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
#pragma warning ( disable : 4800 )
#endif
typedef
enum
{
LAYER_STREAM
=
0
,
/* FLAC__stream_encoder_init_stream() without seeking */
LAYER_SEEKABLE_STREAM
,
/* FLAC__stream_encoder_init_stream() with seeking */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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