Closed Bug 902765 Opened 11 years ago Closed 11 years ago

toolkit/components/places/nsNavHistoryResult.h:179:3: error: 'TimeStamp' does not name a type

Categories

(Toolkit :: Places, defect)

x86_64
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

Attachments

(1 file)

Attached patch fixSplinter Review
In file included from toolkit/components/places/nsAnnotationService.cpp:9:
In file included from toolkit/components/places/nsNavHistory.h:28:
toolkit/components/places/nsNavHistoryResult.h:179:3: error: unknown
      type name 'TimeStamp'; did you mean 'mozilla::TimeStamp'?
  TimeStamp mLastNotificationTimeStamp;
  ^~~~~~~~~
  mozilla::TimeStamp
dist/include/mozilla/TimeStamp.h:207:7: note: 'mozilla::TimeStamp' declared
      here
class TimeStamp
      ^
In file included from toolkit/components/places/nsAnnotationService.cpp:9:
In file included from toolkit/components/places/nsNavHistory.h:28:
toolkit/components/places/nsNavHistoryResult.h:123:3: error:
      static_cast from 'nsNavHistoryResult *' to 'nsINavHistoryResult *' is not
      allowed
  NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(nsNavHistoryResult, nsINavHistoryResult)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dist/include/nsCycleCollectionParticipant.h:483:3: note: expanded from
      macro 'NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS'
  NS_DECL_CYCLE_COLLECTION_CLASS_BODY(_class, _base)                           \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dist/include/nsCycleCollectionParticipant.h:455:3: note: expanded from
      macro 'NS_DECL_CYCLE_COLLECTION_CLASS_BODY'
  NS_DECL_CYCLE_COLLECTION_CLASS_BODY_NO_UNLINK(_class, _base)                 \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dist/include/nsCycleCollectionParticipant.h:448:12: note: expanded from
      macro 'NS_DECL_CYCLE_COLLECTION_CLASS_BODY_NO_UNLINK'
    return NS_ISUPPORTS_CAST(_base*, p);                                       \
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
dist/include/nsISupportsUtils.h:137:29: note: expanded from macro
      'NS_ISUPPORTS_CAST'
  static_cast<nsISupports*>(static_cast<__unambiguousBase>(__expr))
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
gmake[2]: *** [nsAnnotationService.o] Error 1
Attachment #787297 - Flags: review?(mak77)
Piling on, since this also broke all my BSD builds :
http://buildbot.rhaalovely.net/builders/mozilla-central-amd64/builds/842/steps/build/logs/stdio

I wonder why it didnt show up on tbpl though...
Attachment #787297 - Flags: review?(mak77) → review+
https://hg.mozilla.org/mozilla-central/rev/b822f38db87e
Assignee: nobody → jbeich
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: