Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: LKBaka/Lamina

Tags

v1.1.1-Beta

Toggle v1.1.1-Beta's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request Lamina-dev#26 from Ange1PLSGreet/main

编译修复,注释Debug信息

v1.1.0-Beta

Toggle v1.1.0-Beta's commit message
Ready to relase v1.1.0-Beta

v1.0.2-Alpha

Toggle v1.0.2-Alpha's commit message
Release v1.0.2-Alpha: Cross-platform Compilation Fixes & CI/CD Improv…

…ements

核心编译修复 (Core Compilation Fixes):
- 修复 bigint.hpp: 添加 climits 头文件,安全处理 INT_MIN 溢出
- 修复 irrational.hpp: 为 switch 语句添加 LOG 枚举处理和默认分支
- 修复 main.cpp: 抑制 system() 返回值警告
- 修复 parser.cpp: 使用 static_cast 解决有符号/无符号比较警告
- 修复 interpreter.cpp: 抑制未使用变量警告

CI/CD 流程改进 (CI/CD Pipeline Improvements):
- 改用原生 PowerShell 构建 Windows 版本,避免 shell 兼容性问题
- 修复 macOS 静态链接不兼容问题 (-static-libgcc)
- 分离不同平台的构建和打包步骤
- 改进 MSYS2 环境配置和路径设置
- 修复自动 Release 生成,支持从 tag 注释读取内容

语法强制执行 (Syntax Enforcement):
- 强制 include 语句使用引号包裹文件名
- 为无效语法添加详细错误提示
- 更新文档和示例代码

平台支持 (Platform Support):
-  Linux (GCC/Clang) - 编译成功,无警告
-  Windows (MinGW/PowerShell) - 修复 shell 兼容性
-  macOS (Clang/GCC) - 修复静态链接问题

主要改进 (Key Improvements):
- 所有平台零警告编译
- 完全自动化的 Release 流程
- 增强的错误提示和调试信息
- 改进的模块系统文档

这个版本彻底解决了 GitHub Actions 中的所有跨平台编译问题,确保 CI/CD 流程在所有支持的平台上正常工作。现在可以直接用 PowerShell 在 Windows 上构建,不再依赖复杂的 shell 兼容性设置。