小编use*_*657的帖子

仅使用模式匹配提取文件名

是否可以使用string.match并返回捕获,直到最后一个.字符停止在扩展部分?

string lua pattern-matching lua-patterns

2
推荐指数
1
解决办法
3333
查看次数

模棱两可的错误“...未声明(首次在此函数中使用)”

无论出于何种原因,MinGW 的 gcc 似乎无法找到此变量的“#define”块。完整的错误是

.../mapped.c:396:28: error: '_zzip_strcasecmp' undeclared (first use in this function)
Run Code Online (Sandbox Code Playgroud)

mapping.c 的内容:

/*
 * NOTE: this is part of libzzipmmapped (i.e. it is not libzzip).
 *                                            ==================
 *
 * These routines are fully independent from the traditional zzip
 * implementation. They assume a readonly mmapped sharedmem block
 * representing a complete zip file. The functions show how to 
 * parse the structure, find files and return a decoded bytestream.
 *
 * These routines are a bit simple …
Run Code Online (Sandbox Code Playgroud)

c gcc mingw

0
推荐指数
1
解决办法
8099
查看次数

标签 统计

c ×1

gcc ×1

lua ×1

lua-patterns ×1

mingw ×1

pattern-matching ×1

string ×1