Skip to content

Commit 78a28d1

Browse files
committed
Fix async examples build for asn_orig.c
Add settings.h include before the compile guard in asn_orig.c so WOLFSSL_IGNORE_FILE_WARN is available when compiled separately. Add -Wno-pedantic for asn_orig.c in async examples Makefile to suppress empty translation unit warning.
1 parent 6b1f5dd commit 78a28d1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/async/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ $(OBJDIR)/wolfcrypt/src/fipsv2.o: CFLAGS += -Wno-pedantic
6767
$(OBJDIR)/wolfcrypt/src/selftest.o: CFLAGS += -Wno-pedantic
6868
$(OBJDIR)/wolfcrypt/src/wolfcrypt_first.o: CFLAGS += -Wno-pedantic
6969
$(OBJDIR)/wolfcrypt/src/wolfcrypt_last.o: CFLAGS += -Wno-pedantic
70+
$(OBJDIR)/wolfcrypt/src/asn_orig.o: CFLAGS += -Wno-pedantic
7071

7172
clean:
7273
$(RM) -r $(OBJDIR) $(TARGETS)

0 commit comments

Comments
 (0)