Skip to content

Commit

Permalink
c++: Remove #error for release builds
Browse files Browse the repository at this point in the history
	* module.cc: Remove #error that triggers if DEV-PHASE is empty.
  • Loading branch information
jakubjelinek committed Apr 27, 2021
1 parent d81efb0 commit 50bc918
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gcc/cp/module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 50bc918

Please sign in to comment.