Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. cl.exe error reporting errors as file:line: instead of file(line) [modified]

cl.exe error reporting errors as file:line: instead of file(line) [modified]

Scheduled Pinned Locked Moved Visual Studio
helpc++com
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    benjymous
    wrote on last edited by
    #1

    Can anyone tell me what switch I need to give (or not give) to cl.exe to make it report errors like Somefile.cpp(216) : error C2065: 'blah' : undeclared identifier instead of Somefile.cpp:216: error C2065: 'blah' : undeclared identifier I'm using a custom build tool, which is causing the errors to be reported in the latter format (with colons around the line number) instead of brackets - this means you can't double click on the error to go straight to the line (it takes you to the top of the file instead) A quick test of cl.exe manually suggests that the error(line) format is what it outputs by default, so something must be overriding this, but I can't work out what

    Help me! I'm turning into a grapefruit! Buzzwords!

    modified on Thursday, February 25, 2010 9:25 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups