the default argument in vfrformpkg should be in the header.
diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp 
b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp
index 6dfc118..376a454 100644
--- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp
+++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp
@@ -95,7 +95,7 @@ SPendingAssign::GetKey (
 }
 
 CFormPkg::CFormPkg (
-  IN UINT32 BufferSize = 4096
+  IN UINT32 BufferSize
   )
 {
   CHAR8       *BufferStart;
diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h 
b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h
index c69518a..c850f79 100644
--- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h
+++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h
@@ -124,7 +124,7 @@ private:
   SPendingAssign      *PendingAssignList;
 
 public:
-  CFormPkg (IN UINT32 BufferSize);
+  CFormPkg (IN UINT32 BufferSize = 4096);
   ~CFormPkg ();
 
   CHAR8             * IfrBinBufferGet (IN UINT32);
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to