https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211540

Mark Millard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|11.0-STABLE                 |11.0-BETA3

--- Comment #1 from Mark Millard <[email protected]> ---
(In reply to Mark Millard from comment #0)

Now reproduced in trying to build 11.0-BETA4 -r303759. But there is no
11.0-BETA4 Version selection available yet. So use 11.0-BETA3 selection for
now.



The "variably modified '_ArrayTables' at file scope" messages refer to (various
.h files contributing):

#define MAX_VDEVICE_PER_VBUS 8
. . .
#ifndef MAX_ARRAY_PER_VBUS
#define MAX_ARRAY_PER_VBUS (MAX_VDEVICE_PER_VBUS*2) /* worst case */
#endif
. . .
#define ARRAY_VDEV_SIZE ((UINT)(ULONG_PTR)&((PVDevice)0)->u+sizeof(RaidArray))
. . .
typedef struct _VBus  {
. . .
#ifdef SUPPORT_ARRAY
        PVDevice pFreeArrayLink;
        BYTE    _ArrayTables[MAX_ARRAY_PER_VBUS * ARRAY_VDEV_SIZE];
#endif
. . .
} VBus;



ARRAY_VDEV_SIZE is what is being complained about for its use in typedef struct
_VBus at file scope.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to