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

Newest source fails build in my environment #107

Closed
korsgaard opened this issue Jan 7, 2018 · 10 comments
Closed

Newest source fails build in my environment #107

korsgaard opened this issue Jan 7, 2018 · 10 comments

Comments

@korsgaard
Copy link
Contributor

korsgaard commented Jan 7, 2018

Worked fine last week... (and still does with my fork...)

Plugins/cordova-plugin-nativestorage/NativeStorage.m:45:8: warning: incompatible pointer to integer conversion initializing 'BOOL' (aka 'signed char') with an expression of type 'id' [-Wint-conversion]
                BOOL aBoolean = [command.arguments objectAtIndex:1];
                     ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Plugins/cordova-plugin-nativestorage/NativeStorage.m:214:32: error: expected expression
                if(reference!=nil && (NsNull*) aString == [NsNull null]) {
                                             ^
Plugins/cordova-plugin-nativestorage/NativeStorage.m:214:25: error: use of undeclared identifier 'NsNull'
                if(reference!=nil && (NsNull*) aString == [NsNull null]) {
                                      ^
Plugins/cordova-plugin-nativestorage/NativeStorage.m:223:3: error: expected expression
                else
                ^
Plugins/cordova-plugin-nativestorage/NativeStorage.m:228:3: error: expected expression
        }];
         ^
Plugins/cordova-plugin-nativestorage/NativeStorage.m:266:5: error: expected ']'
@end
    ^
Plugins/cordova-plugin-nativestorage/NativeStorage.m:266:5: error: expected '}'
Plugins/cordova-plugin-nativestorage/NativeStorage.m:208:1: note: to match this '{'
{
@korsgaard korsgaard changed the title Newest release fails build in my environment Newest source fails build in my environment Jan 7, 2018
@korsgaard
Copy link
Contributor Author

Seem to have to go back to 2.2.1 to have a successful build... otherwise the build fails or the ap starts with a white screen...

@alokrajiv
Copy link
Collaborator

cc @GillesC

@alokrajiv
Copy link
Collaborator

@mbkinnovo are you building from GitHub master? because we haven't updated NPM for sometime now.

@korsgaard
Copy link
Contributor Author

Yeah, did build from the newest github.

@alokrajiv
Copy link
Collaborator

alokrajiv commented Jan 8, 2018

@GillesC our master is then unstable...
In the meantime, @mbkinnovo you should try building from npm then.

@alokrajiv
Copy link
Collaborator

Hi, is anyone else facing issue? Looks to me the master is actually stable..no other reported errors.

@ealch
Copy link

ealch commented Jan 23, 2018

Still not working, I think that you messed up in this commit.
Since you mistyped 'NsNull' and you opened two times the clauses.

@korsgaard
Copy link
Contributor Author

Thank you @ealch - I've created pull request #109 fixing this...!

@GillesC
Copy link
Collaborator

GillesC commented Jan 29, 2018

Merged your PR (aff0b51) thank you for your contribution! I will close this issue now :)

@GillesC GillesC closed this as completed Jan 29, 2018
@alokrajiv
Copy link
Collaborator

alokrajiv commented Sep 30, 2018

Sorry about the mess up :(

thanks, @ealch & @mbkinnovo 👍 👍 👍 ... dunno how it was missed.

.... I really need to automate those tests onto Travis #126

.... will squeeze in sometime in the coming weeks and get it up...so this never happens again

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

4 participants