c++: Remove #error for release builds
* module.cc: Remove #error that triggers if DEV-PHASE is empty.
This commit is contained in:
parent
f7ee6a1e8a
commit
ea3d2e3c16
@ -194,8 +194,6 @@ Classes used:
|
||||
#define MODULE_MINOR(V) ((V) % 10000)
|
||||
#define EXPERIMENT(A,B) (IS_EXPERIMENTAL (MODULE_VERSION) ? (A) : (B))
|
||||
#ifndef MODULE_VERSION
|
||||
// Be sure you're ready! Remove #error this before release!
|
||||
#error "Shtopp! What are you doing? This is not ready yet."
|
||||
#include "bversion.h"
|
||||
#define MODULE_VERSION (BUILDING_GCC_MAJOR * 10000U + BUILDING_GCC_MINOR)
|
||||
#elif !IS_EXPERIMENTAL (MODULE_VERSION)
|
||||
|
Loading…
x
Reference in New Issue
Block a user