Re: [PATCH] Fix build error (compile-time assertion added by 96344ff0)

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

 



On 3/20/18 11:34 AM, Tomohiro Kusumi wrote:
>> optgroup.c:208: error: expected identifier or '(' before 'do'
>> optgroup.c:208: error: expected identifier or '(' before 'while'
> 
> compiletime_assert() (do{...}while(0)) can't be in global scope.
> Not sure where you would want this instead, but main() has one already.

I'll move it into optgroup instead, it's clearer if it's closer to
the actual code.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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