Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some weird error appeared using my custom build of dev branch... unlike official builds from omp(from the released server archive) or the regular community build (this repo's released build) #739

Open
Zorono opened this issue Aug 23, 2024 · 1 comment

Comments

@Zorono
Copy link

Zorono commented Aug 23, 2024

Issue description:

Some weird errors appeared using my custom build of dev branch... unlike official builds from omp(from the released server archive) or the regular community build (this repo's released build)

Minimal complete verifiable example (MCVE):

my custom build is: build.zip
i compiled it using the commands:

git clone https://github.com/pawn-lang/compiler.git
cd ./compiler
mkdir ./source/compiler/build
cd ./source/compiler/build
cmake .. -DCMAKE_C_FLAGS="-m32" -DsNAMEMAX=63 -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles";
cmake --build . --config Release

please note that i used the CMakeFile from my PR (Zorono/compiler-1 branch patch-1)

git clone "https://github.com/pawn-lang/compiler"
git remote add zorono https://github.com/Zorono/compiler-1
git fetch zorono patch-1
git checkout patch-1

the errors i got are:

/path/to/Server/dependencies/openmultiplayer/omp_core.inc(322) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(322) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(359) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(359) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(486) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(486) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(545) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(545) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(568) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(568) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(580) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(580) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(605) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(605) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(619) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(619) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(961) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(961) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(966) : error 001: expected token: ":", 
but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(966) : error 001: expected token: ";", 
but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(1060) : error 001: expected token: ":", but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(1060) : error 001: expected token: ";", but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(1352) : error 001: expected token: ":", but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(1352) : error 001: expected token: ";", but found "}"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(1434) : error 001: expected token: ":", but found "-identifier-"
/path/to/Server/dependencies/openmultiplayer/omp_core.inc(1434) : error 001: expected token: ";", but found "}"

please note these errors are thrown as of the commit 3f886e54cbf0637302e55dfb8cd96eefda57b359 of openmultiplayer's omp-stdlib

Workspace Information:

  • Compiler version: 3.10.11 (dev branch)
  • Command line arguments provided (or sampctl version): /path/to/Server/pawncompiler/linux/bin/pawncc main.pwn -;+ -(+ -d3 -O0 -Z+ -C+ -t4 -D/path/to/Server/gamemodes -o/path/to/Server/gamemodes/main.amx -i/path/to/Server/dependencies -i/path/to/Server/dependencies/openmultiplayer
  • Operating System: Windows 10 x64 (WSL 2)
@Zorono
Copy link
Author

Zorono commented Aug 24, 2024

As per iAmir on discord, he said that this problem happens only on WSL (even with omp server and samp server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant