BinaryByter
yes
BinaryByter
I was going to say that
BinaryByter
its useless
BinaryByter
and unproductive
MᏫᎻᎯᎷᎷᎬᎠ
And agree that's C++ is the best XD
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
Anonymous
I saw they where discussing your issue on chat
Parra
Parra
slack?
Anonymous
No
Parra
sorry if this is against rules
Anonymous
No dude
Anonymous
They where discuss in the email
Anonymous
I get every email they send
Anonymous
I subscribe to them
Anonymous
And also on irc
Parra
ohhh
Parra
can you send me the emails where they talked about?
Parra
I talked to you in a private chat
Anonymous
You can subscribe them on GitHub
Anonymous
You will get the mail
Anonymous
Actually I remember they have long term problem in this issue
Anonymous
There were many bugs related to napi and events loop
Anonymous
In version 11.0
Parra
ahhhh
Parra
i understand
Parra
I hope it will be interesting for them
Parra
I also have integrated node gyp in CMake
Parra
and other improvements, I don't know
Parra
I think it may be interesting for them
Dima
I think that should be instant ban
MᏫᎻᎯᎷᎷᎬᎠ
klimi
Dima
tell us anything NOW or you’ll get banned, don’t like your username
Dima
Dima
he’ll see
NaMit
H
Ockham
does any body here now? )
Luis José
O/
Ockham
i participate in kaggle competitions and try compile top c++ kernel and have problem with compiler
Ockham
i am absolutly novice with c++
Luis José
Ockham
Luis José
I'm happy because I'm learning 😬
S.
Aren't kaggle competitions all for A.I.?
Ockham
problem is that compiler return that function return value declared with attribute warn_unused_result
Ockham
couse its kaggle santa
Ockham
https://www.kaggle.com/c/traveling-santa-2018-prime-paths/kernels
S.
Ockham
one of kernels use c++
Ockham
sec
Ockham
https://www.kaggle.com/blacksix/dp-shuffle
Ockham
kernel
Ockham
In static member function static std::vector<int> santa::ArrayTourReadVec(const char*, int): dp.cc: 157:10 warning: ignoring return value of char fgets(char*, int, FILE*)`, declared with attribute warn_unused_result
Ockham
1
S.
S.
any error?
Ockham
no just this
S.
Find the first error.
S.
Did it just succeed?
S.
It should generate an executable file dp
Ockham
i dont see dp file after compiliation
S.
OK then there must be some `error`s reported by the compiler
Ockham
w8 min plz
S.
take your time 🙂
Ockham
!g++ --std=c++17 -Wall -g -Ofast -mtune=native -march=native -fopenmp -DNDEBUG -o dp dp.cc
g++ dp.cc --std=c++17 -Wall -g -Ofast -mtune=native -march=native -fopenmp -DNDEBUG -o dp dp.cc --std=c++17 -Wall -g -Ofast -mtune=native -march=native -fopenmp -DNDEBUG -o dp dp.cc --std=c++17 -Wall -g -Ofast -mtune=native -march=native -fopenmp -DNDEBUG -o dp dp.cc
dp.cc: In static member function ‘static std::vector<std::complex<double> > santa::TSP::ReadCities(const string&, double)’:
dp.cc:79:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
dp.cc: In static member function ‘static std::vector<int> santa::ArrayTour::ReadVec(const char*, int)’:
dp.cc:157:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
dp.cc: In static member function ‘static std::vector<std::complex<double> > santa::TSP::ReadCities(const string&, double)’:
dp.cc:79:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
dp.cc: In static member function ‘static std::vector<int> santa::ArrayTour::ReadVec(const char*, int)’:
dp.cc:157:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
dp.cc: In static member function ‘static std::vector<std::complex<double> > santa::TSP::ReadCities(const string&, double)’:
dp.cc:79:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
dp.cc: In static member function ‘static std::vector<int> santa::ArrayTour::ReadVec(const char*, int)’:
dp.cc:157:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
dp.cc: In static member function ‘static std::vector<std::complex<double> > santa::TSP::ReadCities(const string&, double)’:
dp.cc:79:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
dp.cc: In static member function ‘static std::vector<int> santa::ArrayTour::ReadVec(const char*, int)’:
dp.cc:157:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
/tmp/cclU6u4Y.o: In function `main':
/home/noname/santa2018/dp.cc:356: multiple definition of `main'
/tmp/ccwQZlYf.o:/home/noname/santa2018/dp.cc:356: first defined here
/tmp/ccknGYyN.o: In function `main':
/home/noname/santa2018/dp.cc:356: multiple definition of `main'
/tmp/ccwQZlYf.o:/home/noname/santa2018/dp.cc:356: first defined here
/tmp/ccRCDsrH.o: In function `main':
/home/noname/santa2018/dp.cc:356: multiple definition of `main'
/tmp/ccwQZlYf.o:/home/noname/santa2018/dp.cc:356: first defined here
collect2: error: ld returned 1 exit status
Ockham
gcc 7.3.0 ubuntu 18.04
S.
re-definition error dude
Ockham
smoke manual? ^)
S.
what's the exact g++ command you used?
Ockham
its strange cause its public kernel what works well at kaggle server
Ockham
!g++ --std=c++17 -Wall -g -Ofast -mtune=native -march=native -fopenmp -DNDEBUG -o dp dp.cc
S.
Yes it's correct, but why multiple *.o files were generated?
S.
S.
You copied and pasted some options for too many times
Ockham
no its was once