<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/65255>65255</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MLIR] mlir/include/mlir/IR/BuiltinAttributes.h(354,14): warning: 'complex' is deprecated: warning STL4037:
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
3119369616
</td>
</tr>
</table>
<pre>
Host&Target: **x86_64-pc-windows-msvc**
```plaintext
mlir/include/mlir/IR/BuiltinAttributes.h(354,14): warning: 'complex' is deprecated: warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [-Wdeprecated-declarations]
return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
^
D:\Program Files\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include\complex(1302,5): note: 'complex' has been explicitly marked deprecated here
_DEPRECATE_NONFLOATING_COMPLEX
^
D:\Program Files\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include\yvals_core.h(1408,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
[[deprecated("warning STL4037: " \
^
1 warning generated.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEVE-P46gT_TTkUoplg7HjQw6Ok8wvUne61R3N_PYUEVOO2cVgAe4_335lJ90dzc5qj4OQEopnqPd4VcJ7dTaIS8JXhK9nYgitdUuWJAXLiizJZicr35f_sz4Qmh2EO2MgrARCS0LLt0V2zNJ5X89flZH21c87_1Jf9ki8JnFJsvgyey2UCfgWLvFOK0foVplaDxIJ3V4DuydCt6tB6aBMGYJTpyGgj1pCF4ynhFZJSmgxZvAqnFHmfEkmr23Xa3wjNAflQWLvsBYB5Q0Sng93aczyMXRoEbBpsA5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