projg2 / flaggie

A smart CLI mangler for package.* files
MIT License
48 stars 7 forks source link

Problem when adding USE flags that have a '+' character #21

Closed cstaylor closed 4 years ago

cstaylor commented 4 years ago

When trying to enable c++11 for packages like dev-cpp/eigen using flaggie in strict mode:

flaggie --strict --destructive-cleanup '+c++11'
At argv[1]='+c++11': c++11 seems to be an incorrect global flag
Strict mode, aborting.

It is a correct global flag. If I drop --strict it gets added but I still get the "seems to be an incorrect global flag" warning.

mgorny commented 4 years ago

Nope, global flags are defined in profiles/use.desc and this one isn't there. Also, it probably shouldn't be used anymore given that C++14 is the default nowadays.