Hi Parvinder,

The stacktrace doesn't seem to match the code.

In the stacktrace it points to line 21, column 32 of your code, but in the
link line 21 is just an include statement.

Stacktrace part:

/home/parvinder/Desktop/website/source/test.C:21:32:   instantiated from
here

Code part:

#include <Wt/Dbo/backend/Postgres>


Also may I suggest for future pastes. You could use ideone.com as it give
nice syntax highlighting: http://ideone.com/vg4gD

Also, I find the code hard to read due to the inconsistent indentation. This
program seems to do a good job of auto indentation and styling:
http://astyle.sourceforge.net/

eg.

astyle --style=java --align-pointer=type  --keep-one-line-statements
--keep-one-line-blocks  --add-brackets --delete-empty-lines --unpad-paren
--pad-header --break-blocks=all tmp.cpp

I gave it a run through and a bit of a manual edit: http://ideone.com/NBqRp

Sorry for off topicness everyone else :)

Kind Regards,
Matthew Sherborne
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to