The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building with Clang
2018-09-07, 16:01
Post: #1
Building with Clang
It appears that iPXE can't be built with Clang. I tried and ran into issues, particularly:

core/settings.c:310:8: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
char name[ strlen ( name ) + 1 /* NUL */ ];


This is after making with NO_WERROR=1 to get around several clang warning as well. This is with clang version 4.0.1-10.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Building with Clang - mtg - 2018-09-07 16:01
RE: Building with Clang - NiKiZe - 2018-09-07, 21:58
RE: Building with Clang - sherpya - 2018-09-09, 01:57



User(s) browsing this thread: 1 Guest(s)