Closed
Description
Brief Description
Tried to build as explained in GettingStarted section.
Errors occur when compiling with command
./build.sh -configuration Release -platform x64
OS: Linux (Kubuntu 22.04)
Dotnet info:
.NET Core SDK (reflecting any global.json):
Version: 3.1.425
Commit: ca553b8af8
Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: linux-x64
Base Path: /lhome/ax/.dotnet/sdk/3.1.425/
Host (useful for support):
Version: 3.1.31
Commit: 0e404aa9b8
.NET Core SDKs installed:
3.1.425 [/lhome/ax/.dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.31 [/lhome/ax/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.31 [/lhome/ax/.dotnet/shared/Microsoft.NETCore.App]
Error message:
error : '__malloc__' attribute takes no arguments
Expand console output
~/src/CppSharp/build$ ./build.sh -configuration Release -platform x64
Archive llvm-791523-linux-x64-gcc-11-Release.tar.xz already exists.
Using debug LLVM build: /lhome/ax/src/CppSharp/build/llvm/llvm-791523-linux-x64-gcc-11-Debug
Using release LLVM build: /lhome/ax/src/CppSharp/build/llvm/llvm-791523-linux-x64-gcc-11-Release
Building configurations...
Running action 'gmake2'...
Done (83ms).
Generating CppSharp build configuration file 'BuildConfig.cs'
Building configurations...
Running action 'vs2019'...
Done (49ms).
Determining projects to restore...
All projects are up-to-date for restore.
make: Entering directory '/lhome/ax/src/CppSharp/build/gmake'
==== Building CppSharp.CppParser (release_x64) ====
==== Building Std-symbols (release_x64) ====
==== Building NamespacesBase.Native (release_x64) ====
==== Building NamespacesDerived.Native (release_x64) ====
==== Building Common.Native (release_x64) ====
==== Building CSharp.Native (release_x64) ====
==== Building Encodings.Native (release_x64) ====
==== Building VTables.Native (release_x64) ====
==== Building CLI.Native (release_x64) ====
==== Building StandardLib.Native (release_x64) ====
make: Leaving directory '/lhome/ax/src/CppSharp/build/gmake'
CppSharp -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.dll
CppSharp.Runtime -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.Runtime.dll
CppSharp.AST -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.AST.dll
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(39838,141): warning CS0109: The member 'Parser.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(106,156): warning CS0109: The member 'NativeLibrary.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/Std.cs(241,137): warning CS0109: The member 'CharTraits<_CharT>.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/Std.cs(37,133): warning CS0109: The member 'Allocator<_Tp>.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(3055,146): warning CS0109: The member 'SourceRange.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/Std.cs(375,155): warning CS0109: The member 'BasicString<_CharT, _Traits, _Alloc>.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(40784,151): warning CS0109: The member 'ParserDiagnostic.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(41209,146): warning CS0109: The member 'ClangParser.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(40996,147): warning CS0109: The member 'ParserResult.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(40587,151): warning CS0109: The member 'CppLinkerOptions.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(3277,147): warning CS0109: The member 'Type.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(40048,151): warning CS0109: The member 'CppParserOptions.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(11259,153): warning CS0109: The member 'LayoutBase.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(10140,161): warning CS0109: The member 'BaseClassSpecifier.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(39166,151): warning CS0109: The member 'ParserTargetInfo.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(298,150): warning CS0109: The member 'Comment.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(4682,159): warning CS0109: The member 'TemplateArgument.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(6402,154): warning CS0109: The member 'Declaration.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(11450,154): warning CS0109: The member 'ClassLayout.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(19905,167): warning CS0109: The member 'CapturedStmt.Capture.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(3420,157): warning CS0109: The member 'TypeQualifiers.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(20917,173): warning CS0109: The member 'CoroutineBodyStmt.CtorArgs.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(3569,156): warning CS0109: The member 'QualifiedType.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(21739,166): warning CS0109: The member 'Expr.Classification.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(1911,176): warning CS0109: The member 'InlineCommandComment.Argument.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(7893,160): warning CS0109: The member 'StatementObsolete.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(28368,176): warning CS0109: The member 'DesignatedInitExpr.Designator.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(15543,153): warning CS0109: The member 'ASTContext.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(28622,181): warning CS0109: The member 'DesignatedInitExpr.FieldDesignator.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(28730,188): warning CS0109: The member 'DesignatedInitExpr.ArrayOrRangeDesignator.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(950,175): warning CS0109: The member 'BlockCommandComment.Argument.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(10596,158): warning CS0109: The member 'VTableComponent.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(15844,147): warning CS0109: The member 'Stmt.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(18938,172): warning CS0109: The member 'GCCAsmStmt.AsmStringPiece.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(2303,176): warning CS0109: The member 'HTMLStartTagComment.Attribute.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(10761,155): warning CS0109: The member 'VTableLayout.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(14879,161): warning CS0109: The member 'PreprocessedEntity.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(35854,170): warning CS0109: The member 'OverloadExpr.FindResult.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(10910,154): warning CS0109: The member 'VFTableInfo.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(38091,182): warning CS0109: The member 'MaterializeTemporaryExpr.ExtraState.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(2797,153): warning CS0109: The member 'RawComment.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(13932,173): warning CS0109: The member 'FunctionTemplateSpecialization.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs(11085,154): warning CS0109: The member 'LayoutField.NativeToManagedMap' does not hide an accessible member. The new keyword is not required. [/lhome/ax/src/CppSharp/src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj]
CppSharp.Parser.CSharp -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.Parser.CSharp.dll
CppSharp.Parser -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.Parser.dll
CppSharp.Generator -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.Generator.dll
CLI.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/CLI.Gen.dll
StandardLib.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/StandardLib.Gen.dll
Common.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/Common.Gen.dll
VTables.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/VTables.Gen.dll
Encodings.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/Encodings.Gen.dll
NamespacesDerived.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/NamespacesDerived.Gen.dll
CppSharp.Parser.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.Parser.Gen.dll
CSharp.Gen -> /lhome/ax/src/CppSharp/bin/Release_x64/CSharp.Gen.dll
CppSharp.Parser.Bootstrap -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.Parser.Bootstrap.dll
CppSharp.CLI -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.CLI.dll
CppSharp.Generator.Tests -> /lhome/ax/src/CppSharp/bin/Release_x64/CppSharp.Generator.Tests.dll
Generating bindings for Encodings (CSharp)
Generating bindings for VTables (CLI)
Generating bindings for StandardLib (CLI)
Looking for tests in: /lhome/ax/src/CppSharp/tests/Encodings
Looking for tests in: /lhome/ax/src/CppSharp/tests/StandardLib
Looking for tests in: /lhome/ax/src/CppSharp/tests/VTables
Generating bindings for Common (CLI)
Looking for tests in: /lhome/ax/src/CppSharp/tests/Common
Generating bindings for CSharp (CSharp)
Generating bindings for NamespacesDerived (CSharp)
Looking for tests in: /lhome/ax/src/CppSharp/tests/CSharp
Looking for tests in: /lhome/ax/src/CppSharp/tests/NamespacesDerived
Generating bindings for CLI (CLI)
Looking for tests in: /lhome/ax/src/CppSharp/tests/CLI
Parsed 'StandardLib.Native'
Parsed 'Encodings.Native'
Parsed 'VTables.Native'
Parsed 'Common.Native'
Parsed 'NamespacesDerived.Native'
Parsed 'NamespacesBase.Native'
Parsed 'CSharp.Native'
Parsed 'CLI.Native'
Error parsing 'Encodings.h'
Error parsing 'VTables.h'
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
CppSharp has encountered an error while parsing code.
CppSharp has encountered an error while parsing code.
Generating bindings for VTables (CSharp)
Looking for tests in: /lhome/ax/src/CppSharp/tests/VTables
/lhome/ax/.dotnet/sdk/3.1.425/Microsoft.Common.CurrentVersion.targets(5266,5): error MSB3073: The command "dotnet "/lhome/ax/src/CppSharp/bin/Release_x64/Encodings.Gen.dll"" exited with code -1. [/lhome/ax/src/CppSharp/tests/Encodings/Encodings.Gen.csproj]
Parsed 'VTables.Native'
Error parsing 'StandardLib.h'
Error parsing 'NamespacesBase.h, Independent.h, NamespacesDerived.h'
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
Error parsing 'Common.h, AnotherUnit.h, interface.h'
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
CppSharp has encountered an error while parsing code.
/lhome/ax/.dotnet/sdk/3.1.425/Microsoft.Common.CurrentVersion.targets(5266,5): error MSB3073: The command "dotnet "/lhome/ax/src/CppSharp/bin/Release_x64/StandardLib.Gen.dll"" exited with code -1. [/lhome/ax/src/CppSharp/tests/StandardLib/StandardLib.Gen.csproj]
CppSharp has encountered an error while parsing code.
/lhome/ax/.dotnet/sdk/3.1.425/Microsoft.Common.CurrentVersion.targets(5266,5): error MSB3073: The command "dotnet "/lhome/ax/src/CppSharp/bin/Release_x64/NamespacesDerived.Gen.dll"" exited with code -1. [/lhome/ax/src/CppSharp/tests/NamespacesDerived/NamespacesDerived.Gen.csproj]
Error parsing 'VTables.h'
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
CppSharp has encountered an error while parsing code.
/lhome/ax/.dotnet/sdk/3.1.425/Microsoft.Common.CurrentVersion.targets(5266,5): error MSB3073: The command "dotnet "/lhome/ax/src/CppSharp/bin/Release_x64/VTables.Gen.dll"" exited with code -1. [/lhome/ax/src/CppSharp/tests/VTables/VTables.Gen.csproj]
CppSharp has encountered an error while parsing code.
Generating bindings for Common (CSharp)
Looking for tests in: /lhome/ax/src/CppSharp/tests/Common
Parsed 'CLI.h, ClassWithNestedEnum.h, NestedEnumConsumer.h, EmployeeOrg.h, EmployeeForwardDecl.h, Employee.h, IgnoredClassTemplateForEmployee.h'
Parsed 'Common.Native'
Found ambiguous overload: TestMappedTypeNonConstRefParam::TestMappedTypeNonConstRefParam
Error parsing 'Common.h, AnotherUnit.h, interface.h'
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
CppSharp has encountered an error while parsing code.
/lhome/ax/.dotnet/sdk/3.1.425/Microsoft.Common.CurrentVersion.targets(5266,5): error MSB3073: The command "dotnet "/lhome/ax/src/CppSharp/bin/Release_x64/Common.Gen.dll"" exited with code -1. [/lhome/ax/src/CppSharp/tests/Common/Common.Gen.csproj]
Generated 'CLI.h'
Generated 'CLI.cpp'
Generated 'Employee.h'
Generated 'Employee.cpp'
Generated 'EmployeeOrg.h'
Generated 'EmployeeOrg.cpp'
Generated 'ClassWithNestedEnum.h'
Generated 'ClassWithNestedEnum.cpp'
Generated 'NestedEnumConsumer.h'
Generated 'NestedEnumConsumer.cpp'
Generated 'EmployeeForwardDecl.h'
Generated 'EmployeeForwardDecl.cpp'
Generated 'IgnoredClassTemplateForEmployee.h'
Generated 'IgnoredClassTemplateForEmployee.cpp'
Error parsing 'CSharpTemplates.h, CSharp.h, AnotherUnit.h, AnonTypes.h'
/usr/include/wchar.h(155,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdlib.h(566,5): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdlib.h(570,14): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdlib.h(799,6): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(189,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(201,25): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(223,39): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(260,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(285,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(294,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(303,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(309,32): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(315,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(322,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
/usr/include/stdio.h(830,24): error : '__malloc__' attribute takes no arguments [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
CppSharp has encountered an error while parsing code.
/lhome/ax/.dotnet/sdk/3.1.425/Microsoft.Common.CurrentVersion.targets(5266,5): error MSB3073: The command "dotnet "/lhome/ax/src/CppSharp/bin/Release_x64/CSharp.Gen.dll"" exited with code -1. [/lhome/ax/src/CppSharp/tests/CSharp/CSharp.Gen.csproj]
Does anyone have an idea how to solve this issue?
Metadata
Metadata
Assignees
Labels
No labels