mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-05-01 05:58:23 +00:00
Various fixes for clang/libc++ build (#1415)
* Gowin: add header includes required on libstdc++. * kernel: fix incorrect printf-style format. * himbaechel: add missing `override` qualifiers. * Gowin: remove unnecessary `std::move`. These calls inhibit RVO, a stronger optimization than moving an object.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <iostream>
|
||||
#include <random>
|
||||
#include <set>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "command.h"
|
||||
#include "design_utils.h"
|
||||
@@ -459,7 +460,7 @@ void CommandHandler::setupContext(Context *ctx)
|
||||
std::uniform_int_distribution<uint64_t> distrib{1};
|
||||
auto seed = distrib(randDev);
|
||||
ctx->rngstate = seed;
|
||||
log_info("Generated random seed: %lu\n", seed);
|
||||
log_info("Generated random seed: %" PRIu64 "\n", seed);
|
||||
}
|
||||
|
||||
if (vm.count("slack_redist_iter")) {
|
||||
|
||||
Reference in New Issue
Block a user