
-----------------------------------
QuantumPhysics
Wed Oct 24, 2012 5:21 pm

Operating System ~ In development ~ Error
-----------------------------------
static void exprCommute(Parse *pParse, Expr *pExpr){
  u16 expRight = (pExpr->pRight->flags & EP_ExpCollate);
  u16 expLeft = (pExpr->pLeft->flags & EP_ExpCollate);
  assert( allowedOp(pExpr->op) && pExpr->op!=TK_IN );
  pExpr->pRight->pColl = SSL3ExprCollSeq(pParse, pExpr->pRight);
  pExpr->pLeft->pColl = SSL3ExprCollSeq(pParse, pExpr->pLeft);
  SWAP(CollSeq*,pExpr->pRight->pColl,pExpr->pLeft->pColl);
  pExpr->pRight->flags = (pExpr->pRight->flags & ~EP_ExpCollate) | expLeft;
  pExpr->pLeft->flags = (pExpr->pLeft->flags & ~EP_ExpCollate) | expRight;
  SWAP(Expr*,pExpr->pRight,pExpr->pLeft);
  if( pExpr->op>=TK_GT ){
    assert( TK_LT==TK_GT+2 );
    assert( TK_GE==TK_LE+2 );
    assert( TK_GT>TK_EQ );
    assert( TK_GTop>=TK_GT && pExpr->opop = ((pExpr->op-TK_GT)^2)+TK_GT;
  }
}

When i toggle my breakpoints, my compiler returns this function as an error. Can anyone tell me why? 

I don't see anything wrong with it.

Undefined Reference:Winmain@14
Failed to reference 0xeff4 0xebh3 0xeff2
System.NET Failure

-----------------------------------
Dreadnought
Wed Oct 24, 2012 7:04 pm

Re: Operating System ~ In development ~ Error
-----------------------------------
Perhaps you should ask the author of the code. A quick Google search reveals the code is in fact part of the [url=http://svn.python.org/projects/external/sqlite-source-3.5.7.x/where.c]SQLite python library and was written a couple years ago hence it's likely free of any major bugs. It's author is likely Gerhard H?ring according to [url=http://docs.python.org/library/sqlite3.html]this.

-----------------------------------
QuantumPhysics
Wed Oct 24, 2012 9:06 pm

RE:Operating System ~ In development ~ Error
-----------------------------------
What are you stating? That I stole the code?
1. I never said I wrote it.
2. It's open Source.
3. I'm using this python lib for my Operating System, that I will use for an addition on my application.
4. I only asked why it returns those errors.

RE #1: It was written as a beta and only got to version 0.93 before a stable release. Though it is the best one out in open source that I can find.
RE #2: The author does not respond to emails as I hoped. That is why I am asking here.

-----------------------------------
Insectoid
Wed Oct 24, 2012 9:23 pm

RE:Operating System ~ In development ~ Error
-----------------------------------
As far as I can tell, Dreadnaught was simply saying you should ask the author what his code is doing. I'd say that's pretty reasonable and not even close to accusing you of plagiarism.

-----------------------------------
Dreadnought
Wed Oct 24, 2012 10:40 pm

Re: Operating System ~ In development ~ Error
-----------------------------------

What are you stating? That I stole the code?

Sorry if my tone was accusatory.
Also, it's unfortunate that the author couldn't help you.
I can't be of much more help, good luck. :)
