Re: Recent changes (master)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/15/2019 6:00 AM, Jens Axboe wrote:
  void print_status_init(int thr_number)
  {
+	struct jobs_eta_packed jep;
+
+	compiletime_assert(sizeof(struct jobs_eta) == sizeof(jep), "jobs_eta");
+

This broke the build on Windows:


    CC eta.o
In file included from fio.h:17:0,
                 from eta.c:12:
eta.c: In function ‘print_status_init’:
compiler/compiler.h:38:44: error: static assertion failed: "jobs_eta"
 #define compiletime_assert(condition, msg) _Static_assert(condition, msg)
                                            ^
eta.c:738:2: note: in expansion of macro ‘compiletime_assert’
  compiletime_assert(sizeof(struct jobs_eta) == sizeof(jep), "jobs_eta");
  ^

--
Rebecca Cran




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux