Closed PedroSilva8 closed 6 years ago
this plugin used editor's grammar
to detect which compiler (gcc
or g++
) to use
seems that atom treated your file as a c
file
then it used the gcc
compiler and cause errors like undefined reference to
std::ios_base::Init::~Init()`
ctrl
+ shift
+ L
) to c++-lstdc++
in build option so you can still use gcc
compiler@tomlau10 it isn't giving me any error like this undefined reference tostd::ios_base::Init::~Init()
and grammar is treated like c++
can you screen capture and paste the error && file content here? 🤔
For some reason when using gcc-make-run to compile c++ it doesn't compile
#include <iostream>
but when compiling the same code manually with mingw