Skip to content

Commit 9fd9980

Browse files
committed
Remove use of warning suppression macros
Now handled by include path compiler flags in shake-language-c.
1 parent daf5439 commit 9fd9980

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

src/Methcla/Audio/EngineImpl.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@
2020
#include "Methcla/Memory.hpp"
2121
#include "Methcla/Memory/Manager.hpp"
2222
#include "Methcla/Platform.hpp"
23-
#include "Methcla/Utility/Macros.h"
2423
#include "Methcla/Utility/MessageQueue.hpp"
2524

2625
#include <methcla/log.hpp>
2726

28-
METHCLA_WITHOUT_WARNINGS_BEGIN
29-
# include <boost/heap/priority_queue.hpp>
30-
METHCLA_WITHOUT_WARNINGS_END
27+
#include <boost/heap/priority_queue.hpp>
3128

3229
#include <oscpp/print.hpp>
3330
#include <oscpp/util.hpp>

src/Methcla/Audio/EngineImpl.hpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@
2121
#include "Methcla/Memory.hpp"
2222
#include "Methcla/Memory/Manager.hpp"
2323
#include "Methcla/Platform.hpp"
24-
#include "Methcla/Utility/Macros.h"
2524
#include "Methcla/Utility/MessageQueue.hpp"
2625

2726
#include <methcla/log.hpp>
2827

29-
METHCLA_WITHOUT_WARNINGS_BEGIN
30-
# include <boost/heap/priority_queue.hpp>
31-
METHCLA_WITHOUT_WARNINGS_END
28+
#include <boost/heap/priority_queue.hpp>
3229

3330
#include <atomic>
3431
#include <cassert>

src/Methcla/Memory.hpp

-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
#ifndef METHCLA_MEMORY_HPP_INCLUDED
1616
#define METHCLA_MEMORY_HPP_INCLUDED
1717

18-
#include "Methcla/Utility/Macros.h"
19-
2018
#include <algorithm>
2119
#include <cstddef>
2220
#include <cstdint>
@@ -26,10 +24,8 @@
2624
// probably not needed anymore.
2725

2826
#if METHCLA_USE_BOOST_SHARED_PTR
29-
METHCLA_WITHOUT_WARNINGS_BEGIN
3027
# include <boost/shared_ptr.hpp>
3128
# include <boost/make_shared.hpp>
32-
METHCLA_WITHOUT_WARNINGS_END
3329
#else
3430
# include <memory>
3531
#endif

src/Methcla/Utility/MessageQueue.hpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@
2121
#include <thread>
2222
#include <vector>
2323

24-
#include "Methcla/Utility/Macros.h"
2524
#include "Methcla/Utility/MessageQueueInterface.hpp"
2625
#include "Methcla/Utility/Semaphore.hpp"
2726
#include "Methcla/Utility/WorkerInterface.hpp"
2827

29-
METHCLA_WITHOUT_WARNINGS_BEGIN
30-
# include <boost/lockfree/spsc_queue.hpp>
31-
METHCLA_WITHOUT_WARNINGS_END
28+
#include <boost/lockfree/spsc_queue.hpp>
3229

3330
namespace Methcla { namespace Utility {
3431

0 commit comments

Comments
 (0)