#166 closed ожидается проверка (задача сдана)
ha6: bind
Reported by: | nikulin.dmitrij | Owned by: | Vladimir Rutsky |
---|---|---|---|
Priority: | проверка | Milestone: | |
Component: | HA#6 bind | Version: | |
Keywords: | Cc: |
Description
Change History (17)
comment:1 Changed 7 years ago by
Type: | ожидается проверка → ожидаются исправления |
---|
comment:2 Changed 7 years ago by
Tested revision 1002 by nikulin.dmitrij.
Smoke tests
test | stage | result | info | log |
---|---|---|---|---|
gcc62 | FAILURE | |||
Common header used in some tests: common.h
comment:3 Changed 7 years ago by
Tested revision 1006 by nikulin.dmitrij.
Smoke tests
test | stage | result | info | log |
---|---|---|---|---|
gcc62 | FAILURE | |||
Common header used in some tests: common.h
comment:4 Changed 7 years ago by
Tested revision 1010 by nikulin.dmitrij.
Smoke tests
test | stage | result | info | log |
---|---|---|---|---|
gcc62 | FAILURE | |||
Common header used in some tests: common.h
comment:5 Changed 7 years ago by
Tested revision 1013 by nikulin.dmitrij.
Smoke tests
test | stage | result | info | log |
---|---|---|---|---|
gcc62 | FAILURE | |||
Common header used in some tests: common.h
comment:6 Changed 7 years ago by
Tested revision 1015 by nikulin.dmitrij.
Main tests
test | stage | result | info | log |
---|---|---|---|---|
gcc62 | FAILURE | |||
gcc62 | FAILURE | |||
Common header used in some tests: common.h
comment:7 Changed 7 years ago by
Tested revision 1016 by nikulin.dmitrij.
All tests passed. Good job!
comment:8 Changed 7 years ago by
Type: | ожидаются исправления → ожидается проверка |
---|
comment:9 Changed 7 years ago by
Tested revision 1017 by nikulin.dmitrij.
All tests passed. Good job!
comment:10 Changed 7 years ago by
Tested revision 1018 by nikulin.dmitrij.
All tests passed. Good job!
comment:11 Changed 7 years ago by
Milestone: | ha6-milestone2 → ha6-deadline |
---|---|
Type: | ожидается проверка → ожидаются исправления |
Замечания:
- Объявляя таким образом placeholder-ы, вы нарушаете ODR при использовании
bind.hpp
в нескольких единицах трансляции:
details::placeholder<1> _1; details::placeholder<2> _2;
Попробуйте скомпилировать один выполняемый файл, слинкованный из двух cpp:
// part1.cpp #include "bind.hpp" int main() { }
// part2.cpp #include "bind.hpp"
$ g++ -Wall -std=c++14 part1.cpp part2.cpp /tmp/ccdpIoeO.o:(.bss+0x0): multiple definition of `fn::_1' /tmp/cc02AZqg.o:(.bss+0x0): first defined here /tmp/ccdpIoeO.o:(.bss+0x1): multiple definition of `fn::_2' /tmp/cc02AZqg.o:(.bss+0x1): first defined here collect2: error: ld returned 1 exit status
Исправьте, пожалуйста, в ближайшее время.
comment:12 Changed 7 years ago by
Tested revision 1056 by nikulin.dmitrij.
All tests passed. Good job!
comment:13 follow-up: 14 Changed 7 years ago by
Type: | ожидаются исправления → ожидается проверка |
---|
Исправил. Можно ли добавить это в автотесты?
comment:14 Changed 7 years ago by
comment:16 Changed 7 years ago by
Tested revision 1059 by nikulin.dmitrij.
All tests passed. Good job!
Tested revision 998 by nikulin.dmitrij.
Smoke tests
test
stage
result
info
log
run_bind_smoke_test.cpp
gcc62
run_bind_smoke_test-gcc62.log
Common header used in some tests: common.h