Files
CMake/Source
Sebastian Holtermann 50b7be6d1f Autogen: Check if a file is empty before reading it
Calling `std::string::front()` on an empty string results
in an undefined behavior by the C++ standard.
In gcc8 it causes an assertion to fail.

This adds a check to `AUTOGEN` if a file to read is empty
and in case avoids the use of an empty `std::string` buffer.

Closes #17793
2018-03-06 08:35:08 -05:00
..
2018-01-31 18:23:03 +03:00
2018-01-31 18:23:03 +03:00
2017-12-18 18:26:55 +01:00
2018-01-31 18:23:03 +03:00
2018-01-31 18:23:03 +03:00
2018-02-27 09:34:35 -05:00
2017-08-24 23:39:47 +02:00
2017-08-24 23:39:47 +02:00
2018-01-31 18:23:03 +03:00
2018-01-04 06:52:01 +11:00
2017-08-24 23:39:47 +02:00
2017-08-24 23:39:47 +02:00
2018-01-31 18:23:03 +03:00
2018-01-04 06:52:01 +11:00
2017-08-30 11:07:05 -04:00
2018-01-04 06:52:01 +11:00
2017-08-24 23:39:47 +02:00
2017-08-24 23:39:47 +02:00
2017-08-24 23:39:47 +02:00
2017-08-27 09:58:46 +02:00
2018-01-31 18:23:03 +03:00
2017-08-24 23:39:47 +02:00
2017-11-03 10:25:05 -04:00
2018-01-04 06:52:01 +11:00
2017-08-24 23:39:47 +02:00
2018-01-31 18:23:03 +03:00
2018-01-31 18:23:03 +03:00
2017-08-24 23:39:47 +02:00
2017-11-03 10:25:05 -04:00
2017-08-24 23:39:47 +02:00
2017-11-03 10:25:05 -04:00
2017-05-03 12:46:27 -04:00
2017-08-27 09:58:46 +02:00
2018-01-04 06:52:01 +11:00