<table><tr><td style="">kossebau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23789">View Revision</a></tr></table><br /><div><div><p>Quick Update (week 40):<br />
Locally have added experimental code to even set the proper attribute for GCC compiler, so we get e.g.:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">/home/koder/Kode/kdegit/kf5/frameworks/kparts/tests/notepad.cpp: In constructor ‘NotepadPart::NotepadPart(QWidget*, QObject*, const QVariantList&)’:
/home/koder/Kode/kdegit/kf5/frameworks/kparts/tests/notepad.cpp:46:55: warning: ‘KAboutData& KAboutData::setProgramIconName(const QString&)’ is deprecated: Use QApplication::setWindowIcon [-Wdeprecated-declarations]</pre></div>

<p>Still need to clean up the code and update the patch.</p>

<p>Open questions you might want to comment on already:<br />
a) Also plan to use the version info and prefix the message text with a "Since major.minor.", as this info also is interesting usually.<br />
b) A thing I am unsure about is: CMake's <tt style="background: #ebebeb; font-size: 13px;">generate_export_header</tt> does the compiler detection in cmake code and then generates code for that very compiler. Which then ends up with the installed/deployed include files. Which might be an issue for people who would like to use different compiler on the same system, both building against the same generated export header file.<br />
Draft code currently moves compiler detection  for deprecated(text) support in generated code, as I have no clue whether one can expect all compilers to digest what the system compiler when it comes to this attribute?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23789">https://phabricator.kde.org/D23789</a></div></div><br /><div><strong>To: </strong>kossebau<br /><strong>Cc: </strong>chehrlic, dfaure, cgiboudeaux, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns<br /></div>