struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / cpp / gcc / dummies.cc
blobdc6f8cae23aea30f78b7e8300d2fba4143c3fc6b
1 // dummies for unused functions in cpp and cc1
3 #ifdef CC1_DUMMIES
4 #define SDCPP_DUMMY_FCT() fprintf(stderr, "unreachable dummy in cc1%s\n", __func__); gcc_assert(false)
5 #define SDCPP_DUMMY_FCT_() // fprintf(stderr, "dummy in cc1%s\n", __func__)
6 #else
7 #define SDCPP_DUMMY_FCT() fprintf(stderr, "unreachable dummy %s\n", __func__); gcc_assert(false)
8 #define SDCPP_DUMMY_FCT_() // fprintf(stderr, "dummy %s\n", __func__)
9 #endif
11 #include "config.h"
12 #include "system.h"
13 #include "coretypes.h"
15 // #include "errors.h" // BUG?
17 // #include "tree-core.h"
18 // #include "langhooks.h"
19 // #include "langhooks-def.h"
21 #include <cassert>
23 #include "opt-suggestions.h"
24 option_proposer::~option_proposer ()
25 { SDCPP_DUMMY_FCT_();
27 const char *host_detect_local_cpu (int, const char **)
29 return NULL;