b18f2f9facbf4fede2ba522909535f133726c400 braney Mon Sep 7 11:20:43 2026 -0700 bigNet: declare the bigBed types chainNetDbLoad.h uses, refs #20824 bigNetFromInterval takes a struct bbiFile and a struct bigBedInterval, and the header named them without including bigBed.h. Any file that reached chainNetDbLoad.h without bigBed.h ahead of it failed -Werror with "declared inside parameter list", which is where hg/lib/liftOver.c ended up once the generated header dependencies started rebuilding it. diff --git src/hg/inc/chainNetDbLoad.h src/hg/inc/chainNetDbLoad.h index b15d327505e..d3a3b980553 100644 --- src/hg/inc/chainNetDbLoad.h +++ src/hg/inc/chainNetDbLoad.h @@ -12,30 +12,34 @@ #include "jksql.h" #endif #ifndef NETALIGN_H #include "netAlign.h" #endif #ifndef CHAINNET_H #include "chainNet.h" #endif #ifndef BIGNET_H #include "bigNet.h" #endif +#ifndef BIGBED_H +#include "bigBed.h" +#endif + struct cnFill *cnFillFromNetAlign(struct netAlign *na, struct hash *nameHash); /* Convert netAlign to cnFill. Name hash is a place to store * the strings. */ struct chainNet *chainNetLoadResult(struct sqlResult *sr, int rowOffset); /* Given a query result that returns a bunch netAligns, make up * a list of chainNets that has the equivalent information. * Note the net->size field is not filled in. */ struct chainNet *chainNetLoadRange(char *database, char *track, char *chrom, int start, int end, char *extraWhere); /* Load parts of a net track that intersect range. */ struct chainNet *chainNetLoadRangeHub(char *fileName, char *chrom, int start, int end);