Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
Delphi
Anonymous Methods
BASM
Code Generation/Optimization
Error Recovery
Errors - Warnings
Exceptions
Execution
Finalization
Generics
Header Generation
Interaction with UI
Interfaces
Language
Linker
Make Logic
Memory Manager
OBJ Generation
OBJ Support
Other Compiler
Packages
RTTI
String Resources
TD Debug Info
Thread Local Storage
Version resilience
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/Delphi/Errors - Warnings
[ Add a report in this area ]
Report #:
92241
Status:
Open
Wrong Line Numbers on Warnings and Errors
Project:
Delphi
Build #:
15.0.3953.35171
Version:
15.1
Submitted By:
André Püschel
Report Type:
Basic functionality failure
Date Reported:
3/12/2011 5:04:37 AM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
282227
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
The compiler reports back wrong line numbers on Errors and Warning, letting the IDE jump to the wrong place, and finding the errors really compilcated.
Maybe this is related to condinal compiling with defines.
Added by Sysop
<<<<<
Please see comments of QC for more information.
>>>>>
Steps to Reproduce:
1.) Get DirectSQL from http://sourceforge.net/projects/directsql/
2.) Try to compile uMysqlVio.pas
For example, create an empty Pproject, and just throw all the uMysql*.pas Units in, then try to compile.
3.) Compiler reports wrong Lines on Errors and Warnings
Workarounds
None
Attachment
None
Comments
André Püschel at 3/12/2011 5:05:34 AM
-
Seems related to #90372
Tomohiro Takahashi at 3/13/2011 5:08:19 PM
-
> 1.) Get DirectSQL from http://sourceforge.net/projects/directsql/
Do you use this one?
http://sourceforge.net/projects/directsql/files/Direct%20Mysql%20Last%20Version/1.2.2/
> 2.) Try to compile uMysqlVio.pas
Could you tell us more detailed [Steps] to build a project in order to confirm your issue?
André Püschel at 3/14/2011 9:17:35 AM
-
Tomohiro Takahashi said - "> 1.) Get DirectSQL from http://sourceforge.net/projects/directsql/
Do you use this one?
http://sourceforge.net/projects/directsql/files/Direct%20Mysql%20Last%20Version/1.2.2/
Yes, the last version available.
Please note that it won't compile on XE due to old PChar non Unicode stuff.
> 2.) Try to compile uMysqlVio.pas
Could you tell us more detailed [Steps] to build a project in order to confirm your issue?
"
Create an empty Pproject, and just throw all the uMysql*.pas Units in, then try to compile.
The first error will be shown on line 964, but thats just a comment line.
Over the weekend i adapted this code to work on XE, beginning with throwing most of the conditional compiling stuff out (leaving only the SSL conditionals in). After that many of the Errors and Warning were shown on the right line, but not all. So its condinal compiling related.
André Püschel at 6/28/2012 1:06:57 AM
-
When will it be fixed?
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us