adtools icon indicating copy to clipboard operation
adtools copied to clipboard

Suggestion: make -athread=native the default

Open ksdhans opened this issue 7 years ago • 0 comments

Just tried out the C++11 threading, and it's great to have it working. However, I got a heap of "undefined reference" errors the first time I tried to compile, because I didn't use the -athread parameter. That's rather confusing, especially if you don't know about the -athread parameter.

I suggest enabling threading by default, or enabling it when C++ code uses threading (if that's feasible).

If that's not possible, then perhaps the compiler could spit out an error informing you about -athread when code that needs it is compiled?

ksdhans avatar Jan 04 '19 02:01 ksdhans