Skip to content

Commit de15d8e

Browse files
committed
Proper signature for REQUIRES
`REQUIRES` expects postional variadic list of arguments but is declared to use named array argement. Calling this macro with positional arguments works due to a bug which wants to be fixed. commit_hash:e9fec8de03e08c2a978c9cac5a139c11cdb33cec
1 parent f073686 commit de15d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/ymake.core.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ REQUIRED_TRANSITIVE_PEERS=
434434
###
435435
### This macro can be used if module depends on the directories specified but they can't be listed
436436
### as direct PEERDIR dependencies (due to public include order or link order issues).
437-
macro REQUIRES(DIRS[]) {
437+
macro REQUIRES(DIRS...) {
438438
SET_APPEND(REQUIRED_TRANSITIVE_PEERS $DIRS)
439439
}
440440

0 commit comments

Comments
 (0)