Skip to content
#

nimble

Here are 98 public repositories matching this topic...

hokamoto
hokamoto commented Aug 31, 2019

I think returned values in Listing 7.30 should be reversed.

proc userLogin(db: Database, request: Request, user: var User): bool =
  if request.cookies.hasKey("username"):
    if not db.findUser(request.cookies["username"], user):
      user = User(username: request.cookies["username"], following: @[])
      db.create(user)
      return false
    else:
      return true
akavel
akavel commented Apr 5, 2019

After debugging some weird errors, I just found out that on my Windows PC, a simple gcc call on command line invokes some ancient 2.x GCC; and that seems to be what nimgen calls on my machine. Whereas the Nim global configuration contains a correct path to a 6.x GCC. IIUC, this is the GCC actually used for compilation of Nim code. Could nimgen reach to the global Nim configuration by default (on

Improve this page

Add a description, image, and links to the nimble topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nimble topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.