compiler: cleanup Nag.cxx11_flag and Pgi.cxx11_flag
This commit is contained in:
		| @@ -25,11 +25,6 @@ class Nag(Compiler): | |||||||
|     def openmp_flag(self): |     def openmp_flag(self): | ||||||
|         return "-openmp" |         return "-openmp" | ||||||
|  |  | ||||||
|     @property |  | ||||||
|     def cxx11_flag(self): |  | ||||||
|         tty.die("cxx11_flag() is not implemented for nag. Consider creating a pull-request.") |  | ||||||
|         return "-std=c++11" |  | ||||||
|  |  | ||||||
|  |  | ||||||
|     @classmethod |     @classmethod | ||||||
|     def default_version(self, comp): |     def default_version(self, comp): | ||||||
|   | |||||||
| @@ -50,7 +50,6 @@ def openmp_flag(self): | |||||||
|  |  | ||||||
|     @property |     @property | ||||||
|     def cxx11_flag(self): |     def cxx11_flag(self): | ||||||
|         tty.die("cxx11_flag() is not implemented for pgi. Consider creating a pull-request.") |  | ||||||
|         return "-std=c++11" |         return "-std=c++11" | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Denis Davydov
					Denis Davydov