Hi all,

I have an EFI Shell tool which uses EDK 1.05 and TCL 8.3 sources. This tool
accepts user commands to display PCI-E adapter information and to upgrade
firmware on it. I recently ported it to UDK2017. I am using VS2012x86
toolchain to build the tool.

When I run the binary from EFI Shell, TCL reports errors such as these.

can't use invalid octal number as operand of "||"
syntax error in expression "(1<<0)"
syntax error in expression "(0x1<<0)"

TCL seems to be treating decimal zeroes as octal numbers. For testing, I
replaced the zeroes in the TCL expressions with 0x0 and I was able to get
rid of few of the syntax errors. This will not work for macros and
expression which are resolved to 0 during runtime.

Since this issue is not being seen with EDK 1.05 code with the same TCL
version, I am wondering if there is any flag I am missing out. Any clues on
such a flag or even suggestions on whether this needs to be debugged from
UEFI side or TCL side is highly appreciated.

Thanks,
Shraavya
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to