Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ninja -C out fail #3

Open
Webster-Yang opened this issue Dec 12, 2022 · 0 comments
Open

ninja -C out fail #3

Webster-Yang opened this issue Dec 12, 2022 · 0 comments

Comments

@Webster-Yang
Copy link

ninja -C out
ninja: Entering directory `out'
[103/287] CXX src/gn/inherited_libraries.o
FAILED: src/gn/inherited_libraries.o
clang++ -MMD -MF src/gn/inherited_libraries.o.d -I../src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -std=c++17 -c ../src/gn/inherited_libraries.cc -o src/gn/inherited_libraries.o
In file included from ../src/gn/inherited_libraries.cc:5:
In file included from ../src/gn/inherited_libraries.h:13:
../src/gn/unique_vector.h:58:49: error: no template named 'equal_to' in namespace 'std'
template <typename T, typename EqualTo = std::equal_to>
~~~~~^
../src/gn/unique_vector.h:81:35: error: no template named 'equal_to' in namespace 'std'
typename EqualTo = std::equal_to>
~~~~~^
../src/gn/unique_vector.h:81:20: error: template parameter missing a default argument
typename EqualTo = std::equal_to>
^
../src/gn/unique_vector.h:80:27: note: previous default template argument defined here
typename Hash = std::hash,
^
In file included from ../src/gn/inherited_libraries.cc:5:
../src/gn/inherited_libraries.h:56:3: error: too few template arguments for class template 'UniqueVector'
UniqueVector<const Target*> targets_;
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
In file included from ../src/gn/target.h:17:
../src/gn/bundle_data.h:27:25: error: too few template arguments for class template 'UniqueVector'
using UniqueTargets = UniqueVector<const Target*>;
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
In file included from ../src/gn/target.h:17:
../src/gn/bundle_data.h:163:9: error: unknown type name 'UniqueTargets'
const UniqueTargets& bundle_deps() const { return bundle_deps_; }
^
../src/gn/bundle_data.h:174:3: error: unknown type name 'UniqueTargets'
UniqueTargets bundle_deps_;
^
In file included from ../src/gn/inherited_libraries.cc:7:
In file included from ../src/gn/target.h:29:
../src/gn/swift_values.h:52:9: error: too few template arguments for class template 'UniqueVector'
const UniqueVector<const Target*>& modules() const { return modules_; }
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
In file included from ../src/gn/target.h:29:
../src/gn/swift_values.h:57:9: error: too few template arguments for class template 'UniqueVector'
const UniqueVector<const Target*>& public_modules() const {
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
In file included from ../src/gn/target.h:29:
../src/gn/swift_values.h:87:3: error: too few template arguments for class template 'UniqueVector'
UniqueVector<const Target*> modules_;
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
In file included from ../src/gn/target.h:29:
../src/gn/swift_values.h:88:3: error: too few template arguments for class template 'UniqueVector'
UniqueVector<const Target*> public_modules_;
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:273:9: error: too few template arguments for class template 'UniqueVector'
const UniqueVector& configs() const { return configs_; }
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:274:3: error: too few template arguments for class template 'UniqueVector'
UniqueVector& configs() { return configs_; }
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:279:9: error: too few template arguments for class template 'UniqueVector'
const UniqueVector& all_dependent_configs() const {
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:282:3: error: too few template arguments for class template 'UniqueVector'
UniqueVector& all_dependent_configs() {
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:288:9: error: too few template arguments for class template 'UniqueVector'
const UniqueVector& public_configs() const {
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:291:3: error: too few template arguments for class template 'UniqueVector'
UniqueVector& public_configs() { return public_configs_; }
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:328:9: error: too few template arguments for class template 'UniqueVector'
const UniqueVector& all_lib_dirs() const { return all_lib_dirs_; }
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
In file included from ../src/gn/inherited_libraries.cc:7:
../src/gn/target.h:329:9: error: too few template arguments for class template 'UniqueVector'
const UniqueVector& all_libs() const { return all_libs_; }
^
../src/gn/unique_vector.h:82:7: note: template is declared here
class UniqueVector {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[112/287] CXX src/gn/json_project_writer.o
ninja: build stopped: subcommand failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant