Fix bad design with a slimy hack

AKA Check the fucking Travis-CI logs before you merge, damnit!

GCC wanted a function prototype becore declaration. This is noise: added a proto to silence it.

We do NOT want to drag the translations into the servers. So have each define a do-nothing implemenation of the deprecation function.

I don't CARE if this is gross and disgusting. It's the cleanest way to get us compiling again. It's only a few hours until we tag a release and I don't want to see yet another slip in the schedule due to a stupid mistake.
This commit is contained in:
Gregory A Lundberg 2018-02-12 09:32:30 -06:00
parent 1d47c23efe
commit 82648f114b
No known key found for this signature in database
GPG key ID: 149484078AE8AE9E
3 changed files with 8 additions and 0 deletions

View file

@ -930,3 +930,6 @@ int main()
return 0;
}
void deprecated_message(const std::string&, int, const version_info&, const std::string&);
void deprecated_message(const std::string&, int, const version_info&, const std::string&) {}

View file

@ -33,6 +33,8 @@ static lg::log_domain log_engine("engine");
namespace utils {
namespace detail {
std::string evaluate_formula_impl(const std::string&);
std::string evaluate_formula_impl(const std::string& formula) {
try {
const wfl::formula form(formula);

View file

@ -2832,3 +2832,6 @@ int main(int argc, char** argv) {
return 0;
}
void deprecated_message(const std::string&, int, const version_info&, const std::string&);
void deprecated_message(const std::string&, int, const version_info&, const std::string&) {}